bot icon indicating copy to clipboard operation
bot copied to clipboard

interact (like and comment) with only the post in postview without entering the profile

Open metapodcod opened this issue 3 years ago • 4 comments

can you make a feature like here https://github.com/InstaPy/instapy-quickstart/blob/master/quickstart_templates/good_commenting_strategy_and_new_qs_system.py

"instapy" works like this: navigate to given tags, receive posts, like posts, comment on that post and move to next content,

for example https://www.instagram.com/explore/tags/turkey/ counts all content here, performs the operations I mentioned above respectively or in a mixed way

In short, we are interested in the posts on the label, not with who liked them.

I'm sorry for my bad english

metapodcod avatar Jul 18 '22 23:07 metapodcod

you can already do that, you just need to configure the bot do work like that. `

hashtag-posts-recent List of hashtags in recent results with whose posts you want to interact. [hashtag1, hashtag2]

` check the documentation https://docs.gramaddict.org/#/configuration

chinciusan avatar Jul 29 '22 06:07 chinciusan

I follow the user in the transactions here, but I don't want him to follow me, I just want to like and comment on the post in the hashtag. In addition, if there is a post that I am processing, I want it to not take action on another post belonging to that user, I do not know how to do this exactly, I would be happy if you could share a sample configuration file.

metapodcod avatar Jul 30 '22 08:07 metapodcod

OK, so you want to interact only with the post and not with the user at all, correct? That's not available yet, but can be accomplished easily.

You have just to avoid executing the interaction with the profile user and leave only the interaction in place. (you have to modify the code to accomplish that). Also commenting in place is not coded as well (only inside the profile is supported). Without entering inside the profile no data will be stored in your interacted and filtered user json. About the interacted json file you can just call the storage function and store what you have done (like and comment?). For the filtered user is a little tricky. You can save this info partially (by losing all the information you can get from the profile view). A good alternative will be to grab all the info of a profile by doing a public api call (but that's not present in this bot, and need to be coded as well!)

Maybe not as easy as I said but definitely possible.

https://github.com/GramAddict/bot/issues/223#issue-1034520537

mastrolube avatar Jul 30 '22 08:07 mastrolube

OK, so you want to interact only with the post and not with the user at all, correct? That's not available yet, but can be accomplished easily.

You have just to avoid executing the interaction with the profile user and leave only the interaction in place. (you have to modify the code to accomplish that). Also commenting in place is not coded as well (only inside the profile is supported). Without entering inside the profile no data will be stored in your interacted and filtered user json. About the interacted json file you can just call the storage function and store what you have done (like and comment?). For the filtered user is a little tricky. You can save this info partially (by losing all the information you can get from the profile view). A good alternative will be to grab all the info of a profile by doing a public api call (but that's not present in this bot, and need to be coded as well!)

Maybe not as easy as I said but definitely possible.

#223 (comment)

@mastrolube It only lists the posts, it doesn't do likes, comments etc. Are you sure this code works?

becauseimnoob avatar Jun 28 '23 19:06 becauseimnoob