Read More
Read More
Menu Close

    Create Facebook Access Token For Web Applications

    First of all to understand what is a Facebook access token and why it is required?
    A Facebook access token contains some permissions based on an application, and allows to fetch permissible user data from user profile. This data is then, can be used by application owner for any usable purpose.

    Here is a simple step by step tutorial that describes you to create Facebook access token for web application

    There Are Two Methods To Create Facebook Access Token,
    (I) From Your Extension,(For Https site)

    (II) From Webkul.Com/Accesstoken/

    The First Method Is given below:

    Create facebook web application:

    Step 1: Go to developers.facebook.com

    Step 2: Click on “Log in” to get into the developer account.Facebook Access Token

    Step 3: Enter your user credentials and loginFacebook Access Token

    Start your headless eCommerce
    now.
    Read More
    If you are an existing developer, skip step 3(a)(i)-3(a)(v) and go to step 3(b)

    Step 3(a)(i): Click on “Get Started” as shown below.Facebook Access Token

    Step 3(a)(ii): Click ‘Add your first product’ to proceed for app creation
    Facebook Access Token

    Step 3(a)(iii): Click ‘Next’Facebook Access Token

    Step 3(a)(iv): Enter any app name and valid email id and click ‘Next’Facebook Access Token

    Step 3(a)(v): Simply ‘skip’ the stepFacebook Access Token

    Step 3(b) For existing developers

    Step 3(b): In ‘My Apps’ click ‘Add a New App’Facebook Access Token

    Step 4: Under ‘Add Products’ tab Set up a Facebook Loginfacebook

    Step 5: Under ‘Quickstart’ of ‘Facebook Login’ tab click ‘Web’web

    Step 6: Under ‘Quickstart’ of ‘Facebook Login’ tab, enter your site URL and click ‘Save’Facebook Access Token

    Step 7: Under ‘Settings’ of ‘Facebook Login’ tab set these settings.facebook

    Step 8: Under ‘Basic’ of ‘Settings’ tab, enter your ‘site domain’ and ‘site URL’ and  Make sure to add a valid URL in “Privacy Policy URL” to make your app public.Screenshot from 2017-12-29 13-01-25 png

    Step 9: Under ‘Advanced’ of  ‘Settings’  tab set these settings.advanced

    Step 10: An additional tab ‘App Review’ is added. To submit your app for review, make your app public and ‘save’. To know the process of Facebook App Review Click here.

    Note: In App Review process you need to make app to public and set all the user permission. If the app is in developer mode then you will only get your profile data.

    public

    Your app is successfully set, now you have to get ‘App ID’ and ‘App Secret’

    Step 11: Under ‘Basic’ of ‘Settings’, below ‘App Secret’ click ‘Show’Facebook Access Token

    Step 12: Copy and use parameters.Facebook Access Token

    GENERATE FACEBOOK ACCESS TOKEN:

    Step1: Now Copy the App ID and App Secret and goto your module configurations and paste them in required fields. Click Save and then click ‘Get Access Token’
    Facebook Access Token

    After clicking “Get Access Token”, you will be redirected to Facebook. After login you will find the “Access Token”.

    login

    Step2: Click continue

    continue

    Now choose the Facebook page from list.

    fb

    After You need to give various permission to Yes as given in below screenshot.

    fb

    finish
    Step3: Page will redirect with your facebook access token in result, simply save module again
    Facebook Access Token

    Step4: Page will redirect with your Facebook profile, pages, groups selectable options. Select accordingly and save module again.Facebook Access Token

    How to create Access Token For Non Https Site From Webkul.Com/Accesstoken/ :

    Firstly you need to follow the same instructions as given in above method. First of all, create an app and configure various settings of app submission. In Facebook login settings, enter the site URL and set the required OAuth Redirect URLs as given in below screenshot.

    start

    joomla

    In Basic Settings section, Enter Privacy Policy URL

    basic

    Now once you get the credentials, enter the APP ID and SECRET KEY of your Facebook app to Webkul Access Token Generator to get the access token.

    token

    You will be redirected to Facebook end. Now Click on Continue.

    continue

    Here you will find the Access Token and User Id.

    token

     

     

    . . .
    Discuss on Helpdesk

    Leave a Comment

    Your email address will not be published. Required fields are marked*


    3 comments

  • Joomla Highlight And Share Articles
    […] Enter the Facebook APP Id. Click to learn the creation of APP Id http://webkul.com/blog/create-facebook-access-token-for-web-applications/. […]
  • Joomla Multi Vendor Marketplace
    […] Enter the App Id and Secret Key of Facebook. To generate App Id and Secret Key please click the link provided http://webkul.com/blog/create-facebook-access-token-for-web-applications/ […]
  • Joomla Facebook Wall feed
    […] generate access token follow the doc came along with your extension, or you can also use this link: Create Facebook Access Token For Web Applications Create Facebook Access Token For Web […]
  • Back to Top

    Table of Content