b31ngd3v / MyIGBot

MyIGBot is a Private API for Instagram to like, follow, comment, view & intaract with stories, upload post & stories, get all information about a user/posts and get posts based on locations/hashtags. It also supports proxy.
https://pypi.org/project/myigbot/
MIT License
172 stars 36 forks source link

How to upload stories ? (With selenium) #14

Closed b31ngd3v closed 3 years ago

b31ngd3v commented 3 years ago

Hey bro , I was using selenium for username and password . If I use this :- response = bot.upload_story('image2.png') print(response)

I know I will get an error . Then how can I use this upload_story function . Any idea ?

Originally posted by @niteshprajapat in https://github.com/b31ngD3v/MyIGBot/issues/7#issuecomment-739658884

b31ngd3v commented 3 years ago

@niteshprajapat To use this api you'll have to login first.

from myigbot import MyIGBot

bot = MyIGBot('USERNAME', 'PASSWORD')
response = bot.upload_story('image2.png')
print(response)
niteshprajapat commented 3 years ago

i knoe but without login how can I ?

On Mon, Dec 7, 2020, 10:30 AM Pramurta Sinha | b3!ngD3v < notifications@github.com> wrote:

@niteshprajapat https://github.com/niteshprajapat To use this api you'll have to login first. `from myigbot import MyIGBot

bot = MyIGBot('USERNAME', 'PASSWORD') response = bot.upload_story('image2.png') print(response)`

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/b31ngD3v/MyIGBot/issues/14#issuecomment-739664069, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQOUP3SFRE3CBKFGC2ODKL3STROOJANCNFSM4UP47XQA .

--

https://jietjodhpur.ac.in/

    https://www.facebook.com/jietgroup/ https://www.instagram.com/jietjodhpur https://www.linkedin.com/in/jiet-jodhpur-480502157/ https://www.twitter.com/jiet_jodhpur https://wa.me/919799999186 https://www.youtube.com/user/jietgroup

This email and the information  it contains are confidential and may be privileged. If you have received this email in error please notify us immediately. You should not copy it for any purpose, or disclose its contents to any other person. Internet communications are not secure and, therefore, JIET Group of Institutions  does not accept legal responsibility for the contents of this message as it has been transmitted over a public network. If you suspect the message may have been intercepted or amended please contact us.

b31ngd3v commented 3 years ago

Without login you can't use the api, actually the module is based on python requests module not selenium.

niteshprajapat commented 3 years ago

ohk , that means I can't use this on selenium based project . Correct ?

On Mon, Dec 7, 2020, 10:37 AM Pramurta Sinha | b3!ngD3v < notifications@github.com> wrote:

Without login you can't use the api, actually the module is based on python requests module not selenium.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/b31ngD3v/MyIGBot/issues/14#issuecomment-739666500, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQOUP3TV2NNBBUX5RLVRDPDSTRPKJANCNFSM4UP47XQA .

--

https://jietjodhpur.ac.in/

    https://www.facebook.com/jietgroup/ https://www.instagram.com/jietjodhpur https://www.linkedin.com/in/jiet-jodhpur-480502157/ https://www.twitter.com/jiet_jodhpur https://wa.me/919799999186 https://www.youtube.com/user/jietgroup

This email and the information  it contains are confidential and may be privileged. If you have received this email in error please notify us immediately. You should not copy it for any purpose, or disclose its contents to any other person. Internet communications are not secure and, therefore, JIET Group of Institutions  does not accept legal responsibility for the contents of this message as it has been transmitted over a public network. If you suspect the message may have been intercepted or amended please contact us.

b31ngd3v commented 3 years ago

You can but the two things can't communicate between each other.

niteshprajapat commented 3 years ago

ohk , Thanks for solving my queries .

On Mon, Dec 7, 2020, 10:47 AM Pramurta Sinha | b3!ngD3v < notifications@github.com> wrote:

You can but the two things can't communicate between each other.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/b31ngD3v/MyIGBot/issues/14#issuecomment-739669423, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQOUP3XDODDZWDLDGYZTRATSTRQOHANCNFSM4UP47XQA .

--

https://jietjodhpur.ac.in/

    https://www.facebook.com/jietgroup/ https://www.instagram.com/jietjodhpur https://www.linkedin.com/in/jiet-jodhpur-480502157/ https://www.twitter.com/jiet_jodhpur https://wa.me/919799999186 https://www.youtube.com/user/jietgroup

This email and the information  it contains are confidential and may be privileged. If you have received this email in error please notify us immediately. You should not copy it for any purpose, or disclose its contents to any other person. Internet communications are not secure and, therefore, JIET Group of Institutions  does not accept legal responsibility for the contents of this message as it has been transmitted over a public network. If you suspect the message may have been intercepted or amended please contact us.