Closed yekayee closed 11 months ago
or update profile
to like/unlike individual posts:
from ensta import Host
host = Host(username, password)
post = host.post("https://www.instagram.com/p/CzeSdT8oZbA/")
post.like()
post.unlike()
or to fetch posts of specific username:
from ensta import Host
host = Host(username, password)
posts = host.posts("cristiano", 10) # replace '10' with '0' if you want to fetch all posts
for post in posts:
caption = post.caption_text
like_count = post.like_count
post.like()
post.unlike()
to update profile:
from ensta import Host
host = Host(username, password)
host.change_bio("hello")
host.change_display_name("John Smith")
can update username or avatar and post photo ?
to post photo:
from ensta import Host
host = Host(username, password)
host.upload_post(
photo_path="Picture.jpg",
caption="Travelling 🌆",
)
to upload reel:
from ensta import Host
host = Host(username, password)
host.upload_reel(
video_path="Video.mp4",
thumbnail_path="Thumbnail.jpg",
caption="Enjoying the winter! ⛄"
)
I'm working on posting comments, updating username and profile picture.
what about avatar? and change username
ensta is based on instagram's web api and as far as i know, avatar is only available on the mobile version. i'll still search if there's a workaround for that.
and i'm currently working on username & profile picture. you'll see the implementation very soon.
thanks
Hey, can we scrap all user's reels?
you can scrape all the posts of a user. the code is given in the readme file.
then, you can check the post type to check if it's a reel or picture.
@diezo Man im glad i found you, i was a dev in instapy and im back now i would like to contribute and updating helping you
Yes kindly guide me for the process or maybe we can have a quick meeting
On Thu, Nov 23, 2023, 12:31 PM Deepak Soni @.***> wrote:
Closed #29 https://github.com/diezo/Ensta/issues/29 as completed.
— Reply to this email directly, view it on GitHub https://github.com/diezo/Ensta/issues/29#event-11045800088, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACJE5SXQ7YWRN4WMV23IYYDYF4QZXAVCNFSM6AAAAAA6WRQQMCVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGA2DKOBQGAYDQOA . You are receiving this because you were mentioned.Message ID: @.***>
@HCWcoder great to hear that you are in. are you comfortable joining my workspace on slack? we'll have rest of the conversation there. https://diezosworkspace.slack.com/
jean.pierre.s.waked@gmail.com doesn’t have an account on this workspace.
@HCWcoder i've added you to the workspace. please check if you've received the invitation.
can post / comment or liking post?