Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6696705
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T06:22:22+00:00 2026-05-26T06:22:22+00:00

Facebook test users (created for an app) are working different in some ways than

  • 0

Facebook test users (created for an app) are working different in some ways than normal users. Ie. they can’t like fanpages, so you can’t test if “create.edge” listener is setup correctly.

Is there a way to detect if user authenticated to app is test user? It would be useful to implement fake version of dialogs, that test user can’t use (ie. liking a fanpage).

My research:

  • I have checked signed_request passed to app and it looks same for test users as for normal users.
  • I have checked graph.facebook.com/[test user id] and it also look normal.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T06:22:23+00:00Added an answer on May 26, 2026 at 6:22 am

    You cannot check if user is a test user basing on his Graph API details. Similarly, you cannot check if user like’s a specific page. You can however check your page_id against user liked pages list. So in order to determine if given user_id is a regular or a test user, you’d have to check it against the application test user list:

    https://graph.facebook.com/APP_ID/accounts/test-users?access_token=APP_ID|APP_SECRET
    

    So the flow would be like this:

    1. Authenticate user
    2. Get his ./likes list
    3. Find your page_id and exit successful
    4. Get your APP ./accounts/test-users list
    5. Find given user_id and exit successful
    6. Exit with failure — require user to like your page.

    That’s one extra call, but you can safely cache results for performance gains, since test users cannot be converted to regular users. I’d advice to cache the “likes” check for some time as well, but YMMV.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created Facebook Test Users using the API. Facebook doesn't allow updates to
I have created three test user accounts for an app in facebook. How should
I'm trying to test for granted permissions by Facebook users in a rails app.
I'm trying to create test users (works) and then invite them to my app
I'm working on an app where I'd like to be able to do things
I'd like to programmatically add requests (apprequests) to a Facebook test user so I
i have a test.php file that will hold a facebook app (iframe based php).
I am wondering how you test your Facebook app. Is there a Facebook sandbox
I'm trying to create test users for my Facebook application using the Facebook C#
Lets assume I have created a facebook app.So all those who(Admin) have facebook fan

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.