1
I need to consume the Instagram API to search for posts with a hashtag set and extract the following information:
- User
- Number of Ikes
- Number of followers
- Date of the post
However from Jul/2016 it will be necessary to use an access token to obtain the public data of the user.
The problem is that currently only the client_id
to get the information, so I set up a cronjob that runs a script that in turn calls the API and writes the data to the database.
https://api.instagram.com/v1/tags/{tag}/media/recent?client_id=<CLIENT_ID>
However with the new API it is necessary to obtain an access token and this is manual, the client needs to authorize the access to the data.
https://api.instagram.com/v1/tags/{tag}/media/recent?access_token=<ACCESS_TOKEN>
With this new API, the client will always have to authorize the application?
If so, it makes no sense if the data is public.
Hello Filipe Moraes, I have the same problem, you have already found some solution?
– Leonardo Rocha
@Leonardorocha I’m not even able to approve an app to test with production data and try to get an answer. Unfortunately they made it very complicated.
– Filipe Moraes
Complicated. Thank you for the reply.
– Leonardo Rocha