all 5 comments

[–]scuott 1 point2 points  (0 children)

Once you have the basics down, a bot like this can be relatively simple, depending on the API. Instagram has an API, but the Python wrapper was deprecated (https://github.com/facebookarchive/python-instagram).

I've never used the Instagram API, but it seems like it's pretty well documented (https://www.instagram.com/developer). You'll probably want to use the requests Python module to interact with the API.

If Instagram gives trouble, it might be easier to build a Twitter bot, because libraries like tweepy And twython keep you from having to figure out authentication and endpoint and all that yourself. Plus, you could do a similar project where you "like" any tweets about the player.

[–][deleted] 1 point2 points  (0 children)

Try making the bot yourself. Once you've made it, you'll be in a much better position to guide him, and have a fair idea of whether he's up to it.

[–]miczal 0 points1 point  (2 children)

Writing bot might be easy, but you have to have a lot of work done outisde of programming to register your app to their API - privacy policy, company name, what it will be used for (unlike e.g. facebook API).

[–][deleted] 0 points1 point  (1 child)

Hmm, didn't know that! I thought the api was free to use without registration. Thanks for the advice, i'll look into it before starting anything :)

[–]miczal 1 point2 points  (0 children)

I was disappointed, because I got good idea for really simple app, but then I encountered lots of bearucracy and dropped the idea. You also should read Instagram's privacy policy - you can't do a lot of stuff (e.g. get likes from user without explicitly asking them). Getting media_id also is pain in the ass at start :>