Instagram API Integration

I am going to complete the schedule task using C #, which will plan to work every 3 hours and receive the last 50 images sent to instagarm, and stored in the local cache directory to display instagarm images on the site.

So far I have implemented in accordance with https://www.instagram.com/developer

When I call the URL below (REPLACING RIGHT VALUES), it redirects to Instagram login screen, So is this one login time? since I am going to use this in the schedule task, if this login has expired, it will cause problems.

https://api.instagram.com/oauth/authorize/?client_id=CLIENT-ID&redirect_uri=REDIRECT-URI&response_type=code

+6
source share
1 answer

When you first log into the system, it should store an authentication token somewhere, and this token will be used to authenticate all your requests.

Try using InstaSharp , a wrapped Instagram API.

There are also some examples of how to use it, how to configure authentication, etc.

+3
source

All Articles