I'm going to implement a schedule job using c# which will schedule to run every 3 hours and get the latest 50 images posted in instagarm, and saved in the local cache directory to display instagarm images in site.
So far I have implemented as per the https://www.instagram.com/developer
When I calling the below url (REPLACING CORRECT VALUES) It redirecting to instagram login screen, So is this one time login? since I'm going to use this in a schedule job if this login expired will cause issues.
https://api.instagram.com/oauth/authorize/?client_id=CLIENT-ID&redirect_uri=REDIRECT-URI&response_type=code
The Instagram Basic Display API allows users of your app to get basic profile information, photos, and videos in their Instagram accounts. The API can be used to access any type of Instagram account but only provides read-access to basic data.
The Instagram Graph API allows you to connect your app to Instagram's features and functionalities. Instagram Businesses and Creators can use this API to fully manage their presence on Instagram, including finding mentions, getting basic data on other Businesses, and finding hashtagged photos.
The Instagram API (short for “application program interface”) is essentially a way for apps to talk to and interact with Instagram.
When you login first time it should store the auth token somewhere and this token will be used to authenticate all your requests.
Try to use InstaSharp - a wrapped over Instagram API.
There is also some examples about how to use it, how to setup the authentication etc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With