Questions tagged [facebook-test-users]

A test user is a special Facebook account, invisible to real accounts, which can be created within an app for the purpose of manual or automated testing of that app's Facebook integration.

75 questions
34
votes
1 answer

Can you use Facebook "Test Users" to test a Messenger Bot?

I'm currently trying to make a Messenger Bot with the Messenger Platform. I have a Facebook page, app, everything set up, it currently works when I (an admin for the app) message it. So, I made a few test users to test it with more users. But,…
Alex Garcia
  • 341
  • 1
  • 3
  • 5
9
votes
5 answers

How do I create a test user for a native iOS app?

I'm trying to test my native iOS app and I've been having huge problems with test users. Basically it seems that the normal graph based way of creating test users doesn't work for native apps. When I try I get the following response from the…
8
votes
2 answers

Facebook test users with phone number instead of email

I've been trying to create a bunch of test users for my test application that will be mocking a case when user signed up to Facebook using his phone number (not his email). Turns out that the tool to create test users (App -> roles -> test users)…
pidabrow
  • 966
  • 1
  • 21
  • 47
7
votes
0 answers

Facebook graph api returns (#200) Requires extended permission: read_stream

In my facebook app I have 7 test users and all users are mutually friends also. I have requested this https://graph.facebook.com/me/home?access_token='myTestUserAccessToken' But it returns { "error": { "message": "(#200) Requires extended…
Arun Mohan
  • 744
  • 1
  • 9
  • 20
7
votes
2 answers

Facebook test accounts with pages

I'm creating a system which involves these steps: 1. Facebook user logs in with Facebook login (manage_pages scope) 2. One of user's Facebook page's access_token is being collected 3. Page's access token is then extended and stored in database for…
rokastokas
  • 77
  • 1
  • 5
7
votes
0 answers

How to get verification code for facebook test user

My Facebook Login flow goes in several steps: User is redirected to authorization url: https://www.facebook.com/dialog/oauth/?client_id={...}&redirect_uri={...}&scope={...}&state={...} After user authentication I get verification code ( code field…
7
votes
4 answers

Facebook unable to post video on test user page with test user access token

I use the Facebook graph api to post a video: https://graph-video.facebook.com/v2.3/{page_id}/videos?title=video&access_token={ page_access_token}&file_url={file_path } When I login as app developer, using developer page_id and page_access_token,…
johnliu
  • 81
  • 4
6
votes
0 answers

Test users and unpublished Page

Just a quick question - I seem unable to access my unpublished Page using a test user that I've created for an app I'm developing. This app is tied to the unpublished Page as a tab, and every time I try to navigate to the Page with a test user I'm…
Snouto
  • 1,039
  • 1
  • 7
  • 21
5
votes
1 answer

Unable to post Open Graph actions as a Test User

I've been able to post Open Graph actions using my own account, but I'm unable to do the same as a Test User of the application, receiving this error: OAuthException: An unexpected error has occurred. Please retry your request later. I've tested…
philipisapain
  • 886
  • 9
  • 13
5
votes
1 answer

404 error trying to use Facebook test user login_url

If I programmatically create a Facebook test user, the login_url for the new user doesn't work. Fetching the login_url returns a 404 error. Pared-down example (in Python). The last two lines are where the problem shows up: import requests from…
medmunds
  • 5,950
  • 3
  • 28
  • 51
4
votes
1 answer

Login with test users fail when in sandbox mode (iOS SDK)

My problem is that if I have sandbox turned off for my iOS app I can log in to FB fine as one of my test users. But as soon as I enable sandbox I can no longer login. I get: -(void)fbDidNotLogin:(BOOL)cancelled delegate method called. Any…
4
votes
1 answer

Unable to add current city for facebook test users

I am working on a location based feature so created some facebook test account under the test app. I was trying to add the current city for all of my test users (manually) but facebook throws back the below error on entering the city: The content…
igamerk
  • 41
  • 4
4
votes
4 answers

How to test FB messenger bot with multiple users

Has anybody yet a way to interact with an FB messenger bot without using real FB accounts? I want to do automated testing and obviously not use real accounts for that. I was not able to figure out how to allow access to a page to 'test users' or…
4
votes
1 answer

How can a Facebook test user populate it's likes?

I am building an app that relies on the user_likes permission and checks what artists (music) has a particular user liked. I thought of using test users to automate my app's testing, but it seems I cannot like things as that user. If this is the…
linkyndy
  • 17,038
  • 20
  • 114
  • 194
3
votes
0 answers

Facebook test app register to facebook page created by test user

My target is to test a new bot on facebook. I got into a loophole trying to validate my bot... help to break; the loop :-) Ok, I have prepared: Facebook test app Under the test app I generated a test user A and test user B. With the test user A, I…
Gadi Ben Amram
  • 197
  • 1
  • 3
  • 13
1
2 3 4 5