Step 2: Configure Instagram Basic Display As soon as you create your app on Facebook developer, you will be taken to a new page. Post Views: 5, Tanaz is a content creator who has a passion for writing--be it for tech products, book reviews, or film recommendations.
She has a Bachelor's degree in Business Administration with a major in Marketing. Her hobbies include blogging, reading, and obsessing over all things Disney.
Share This Story. Share on facebook. Share on twitter. Share on linkedin. Share on pinterest. Share on whatsapp. Products By WPDeveloper. Subscribe For The Latest Updates. No charge. Unsubscribe anytime. Essential Addons for elementor. Get Started. Facebook-f Twitter Instagram Linkedin-in. Demo Changelog Blog Privacy Policy. About Us Affiliates Contact Career. Get Help. You need to go to developers. Then choose website, add its URL, and save the changes.
Keep in mind that the platform can be changed later in case you need. To do it, click the Products button, locate the Instagram product, and click Set Up to add it to your app.
Now your Instagram account is eligible to be accessed by your Facebook app while it is in Development Mode. Remember that the URL must be exactly the same. This page will redirect you to to the redirect URI you included in the previous step and append an Authorization Code. Make sure your redirect URL exactly matches the one from the previous step.
For example:. The Authorization Window allows your app to get Authorization Codes and permissions from app users. Authorization Codes can be exchanged for Instagram User Access Tokens , which must be included when querying an app user's profile or their media. To get an Authorization Code, implement the Authorization Window into your app.
After an app user authenticates their identity through the window and grants your app any permissions it needs, we will redirect the user to your app and include an Authorization Code. Access tokens are app-scoped unique to the app and user pair and can be short-lived or long-lived.
Short-lived access tokens are valid for 1 hour , but can be exchanged for long-lived tokens. To get a short-lived access token, implement the Authorization Window into your app. After the app user authenticates their identity through the window, we will redirect the user back to your app and include an Authorization Code , which you can then exchange for a short-lived access token. Short-lived tokens that have not expired can be exchanged for long-lived access tokens which are valid for 60 days.
Data access authorization is controlled by your app users through the use of the permissions listed below. Users must grant your app these permissions through the Authorization Window before your app can access their data. Instagram testers can grant your app these permissions at any time. In order for app users without a role on your app to be able to grant your app these permissions, each permission must first be approved for Advanced Access through the App Review process, and your app must be in Live mode.
Permission grants made by app users with public accounts are valid for 90 days. Refreshing an app user's long-lived access token will extend the permission grant for another 90 days if the app user who granted the token has a public account.
0コメント