Facebook Invalid Oauth Access Token Uploading Video

Working with the Facebook API, specifically, displaying your personal Facebook Feed or profile folio on a website, requires a Access Token.

Contents

  1. Video tutorial
  2. Create an admission token
  3. FAQ
  4. BONUS: Check out easy and customizable Facebook widget!

Video tutorial

A footstep-by-step tutorial on how to get Facebook Access Token

Facebook admission token is an opaque string which is used to identify the user, application, or page and can be applied past the application to make graph API calls. Getting token for Facebook page is absolutely free. All you need to do here is open up Graph API Explorer and follow these easy steps:

  1. Go to Facebook Developer account: https://developers.facebook.com/apps.
    go to Facebook developers
  2. Printing Add New App>
    Add New Facebook App
  3. Printing Create App ID and enter the capture into the capture field.
    Create Facebook APP ID
  4. Go to https://developers.facebook.com/tools/explorer and replace Graph API Expolrer with the app you lot've created.
    go to Facebook Developer tools
  5. Press Get Token and select Get User Access Token.
    go to Facebook developers
  6. Check the required options on the popup window and cull the permissions needed for your app.
    Check the required option
  7. Printing Go Access Token.
    Get   Facebook Access Token
  8. Ostend all the requests.
  9. Click Info icon adjacent to the token.
    Click Info icon
  10. Press Open up in Access Token Tool.
    Open in Access Token Tool
  11. Press Extend Access Token.
    Press extend Facebook Access Token

Important! Admission token is merely valid for ii months, so make sure you take all these steps again in two months, to refresh the Facebook token.

Now you have read the whole article and if you still take questions, check our FAQ. Yous may find the answers there.

FAQ

How do I know which permissions to choose for my app?

Depending on the functionality you desire, cull ane or several permissions from the lists below.

User Information:

  • email grants a permission to access a person's primary email address.
  • user_age_range provides an app with a permission to access a person's historic period range.
  • user_birthday grants an app permission to admission a person'due south birthday.
  • user_friends gives a permission to access a list of friends that also use said app. Bare in mind that this permission is restricted to a limited set of partners.
  • user_gender gives a permission to access a person's gender.
  • user_likes grants a permission to access the list of all Facebook Pages that a person has marked every bit the ones he likes.
  • user_link provides an app with a permission to admission the Facebook Profile URL of User of your app.
  • user_location gives an access to a person'due south current urban center through the location field on the User object.
  • user_photos grants a permission to access the photos a person has uploaded.
  • user_posts is used to grant permission to admission the posts a person makes on their timeline.
  • user_tagged_places grants your app admission to the Places a person has been tagged at photos, videos, etc. This ane is restricted to a limited set of partners.
  • user_videos provides an access to the videos a person has uploaded or been tagged in. This permission is also restricted to a limited set of partners.

Pages and Business Avails:

  • ads_management gives a permission to both read and manage the ads for advertising accounts you ain or accept been granted access to by the possessor or owners of the ad accounts through this permission.
  • ads_read gives access to the Ads Insights API to pull ads report information for ad accounts y'all own or take been granted access to past the owner or owners of other ad accounts through this permission.
  • business_management gives a permission to read and write with the Concern Director API.
  • groups_access_member_info gives a permission to publicly available grouping member information.
  • manage_pages gives permission to retrieve Page Access Tokens for the Pages and Apps that the app user administers.
  • pages_manage_cta allows app to perform POST and DELETE operations on endpoints used for managing a Folio'southward Call To Action buttons.
  • pages_manage_instant_articles gives permission to manage Instant Articles on behalf of Facebook Pages administered past people using your app.
  • pages_show_list gives permission to manage Instant Articles on behalf of Facebook Pages administered by people using your app.
  • read_page_mailboxes gives permission to manage and access your Pages' messaging conversations.
  • user_events allows to read-only access to the Events a person is a host of or has RSVPed to.

Other:

  • instagram_basic gives a permission to read Instagram Accounts users of your app manage.
  • instagram_manage_comments gives an opportunity to read Instagram Accounts users of your app manage.
  • read_insights grants permissions to read-only access of the Insights data for Pages, Apps, and web domains the person owns.
  • whatsapp_business_management provides the ability to read and/or manage WhatsApp business assets y'all own or have been granted access to by other businesses through this permission.

More than information on the permissions is bachelor here.

Refresh tokens acquit the data necessary to get a new admission token. They are likewise expire only usually they are long-lived.

Can I get a permanent access token?

There are simply two types of tokens available: brusque-lived and long-lived.

If yous haven't institute the information you've been looking for, please, feel free to inquire questions in the comments section below. Nosotros will exist glad to assist!

pyecormit.blogspot.com

Source: https://elfsight.com/blog/2017/10/how-to-get-facebook-access-token/

0 Response to "Facebook Invalid Oauth Access Token Uploading Video"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel