Software/Scripts How to Test Facebook OAuth in Development Mode?

emailx45

Social Engineer
Joined
May 5, 2008
Messages
2,387
Reaction score
2,149
How to Test Facebook OAuth in Development Mode
[SHOWTOGROUPS=4,20]
The Facebook OAuth functionality in the web application can be tested with Development mode.

You can use Facebook App in development mode to check the OAuth functionality before making the Facebook login live for production.

In this guide, we will show you how to test Facebook OAuth functionality in development mode with FB App.

After creating App on the Facebook Developers panel, follow the below steps to test Facebook OAuth in Development mode.

  • Go to the Roles » Test Users page.
  • Click the Add button to create a new test user.
  • Once the test user is created, click the Edit button and select Change permissions this test user granted to app.
    facebook-oauth-test-user-change-permissions-codexworld-1024x359.png
  • Search for the required permissions in the autocomplete text box. Select permissions you want to grant to the App and click Update.
    update-facebook-oauth-test-user-permissions-codexworld-1024x479.png
  • To change the password of the test user, click the Edit button and select Change the name or password for this test user.
    facebook-oauth-test-user-change-password-codexworld
Now, you can use these test users to login in Facebook OAuth script and grant various permission to the App.

[/SHOWTOGROUPS]
 

марина1

New member
Joined
Feb 1, 2011
Messages
1
Reaction score
0
"Hey guys, I've had luck using a tool like Postman to test Facebook OAuth in dev mode. Just set up a redirect URL, get your Facebook app ID, etc, and you should be good to go. Let me know if that works for anyone else!"
 

ефф

New member
Joined
Nov 30, 2006
Messages
2
Reaction score
0
"Yo, try setting up a test Facebook app with a sandbox domain - it's way easier to get OAuth working in dev mode with that. Then, just use those credentials in your code to authenticate. That's been a lifesaver for me so far"
 
Top