skip to Main Content

two types of facebook login

I’m creating an app to use the Facebook Graph API to load posts from an Instagram Business Profile onto a website. Following Facebook’s OAuth guidelines, it opens a dialog where you select your account, select your businesses, select your pages, and then grant all the permissions to the app. (I may have gotten those steps wrong, either way it’s not simple.) Some of our clients use Flockler for their Instagram feeds, and connecting their account to the app only requires a single click on a "Continue as YOUR_NAME" button. After clicking the button everything else takes place within Flockler.

How are they doing that? The only info I can find on Meta for Developers is the same method I’m using: https://developers.facebook.com/docs/facebook-login/guides/advanced/manual-flow/ The URL that Flockler uses for auth is facebook.com/privacy/consent/gdp/ and searching for the terms in the URL isn’t turning up anything either.

2

Answers


  1. it seems as if you using the wrong "Login Flow Experience".
    Taken from this official site (scroll down to the middle more or less), you want to use the "User access token login flow" and not the "Business Integration User access token login flow".

    Login or Signup to reply.
  2. I have investigated this issue and the reason you are getting such login window is that you have User Access Token in your app Configuration:

    Facebook Configuration

    If you select User access token, then you authentication flow will be one-step only, in case of using System-user access token, you will have multiple steps during authentication where you will have to select your businesses, Facebook pages etc.
    Token Types

    By the way, after the configuration is created, do not forget to use in your athentication url. Here is an example of your authentication url:

    https://www.facebook.com/v20.0/dialog/oauth?client_id=123456789&redirect_uri=https%3A%2F%2Fexample.com%2Fauth%2Ffacebook%2Fcallback&state=randomstatevalue123&response_type=code&scope=email%2Cpublic_profile%2Cpages_show_list&config_id=9876543472874221

    where 9876543472874221 is your configuration id

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search