Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Instagram API integration

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

like image 892
KRR Avatar asked Jul 05 '16 14:07

KRR


People also ask

Does Instagram provide API?

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.

Can you integrate with Instagram?

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.

What is IG API?

The Instagram API (short for “application program interface”) is essentially a way for apps to talk to and interact with Instagram.


1 Answers

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.

like image 186
MaKCbIMKo Avatar answered Sep 30 '22 18:09

MaKCbIMKo