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 7938241
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T22:45:04+00:00 2026-06-03T22:45:04+00:00

I am working on an automated test script to create test users and connect

  • 0

I am working on an automated test script to create test users and connect them as friends with each other to load test and profile parts of my app.

The test user documentation states a limit of a maximum 500 test users per application.
https://developers.facebook.com/docs/test_users/

An app can create up to 500 test users to start testing an app. If you exceed the limit of test users you can create for an app you will receive an error.

Anyone else out there ever needed to push past this limit, and how did you achieve testing with communities of users larger than 500? I want to test with users who have between 2000 and 3000 Facebook friends. Yes, such characters are out there in the real world 🙂 Note: as per a comment below it is highly unusual to find users with such large numbers of friend connections. See the comment for a link to stats.

One option which I’m experimenting with is to create multiple apps and “friend” the test users between apps, which seems to be possible. This seems like unnecessary work though.

I’m also considering stubbing the Facebook API with my own local server, but this feels wrong too. There might be libraries for doing this easily?

  • 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-06-03T22:45:06+00:00Added an answer on June 3, 2026 at 10:45 pm

    Since no one has answered this for quite a while, I thought I’d just post the way I solved this for now, in case someone else needs it some day.

    Facebook allows you to add and “share” test users between multiple apps for which you are an administrator.

    Therefore, I created several extra test Facebook apps for myself, besides the one I am already testing.

    Then I added almost 500 test users to each (using the create test user API call).

    I then associated some existing “core” test users across all the apps from the original test application (see below for documentation on how to do this) taking the additional apps up to their 500 limit.

    Once the “core” users were added across all the test apps, I then made the “core” users friends with all the other users in each test app (this needs to be done within each test app – ie using the access tokens of the additional test app, not the original app).

    The final result is that the “core” group from the original app are friends with users from outside the original app, allowing their friend list to grow beyond the artificial testing user limit of 500. So from the original app I now have a collection of core users who can have as many friends as I’m prepared to go to the hassle of creating, in batches just under 500 in size.

    There might be an easier way, but that’s it for now.

    I didn’t explore the idea of stubbing the Facebook API – still an interesting idea!

    From the documentation:

    Adding existing test users to other apps

    You can add existing test users to other apps by using the Graph API with the app access token that you’re adding the user to.

    https://graph.facebook.com/APP_ID/accounts/test-users?
    installed=true
    &permissions=read_stream
    &uid=TEST_USER_ID
    &owner_access_token=APP_ACCESS_TOKEN_OWNER
    &access_token=APP_ACCESS_TOKEN
    &method=post
    Parameters:

    uid : User id of the existing test user

    owner_access_token : App access token of the app used to create the test user

    Facebook Test Users Documentation: http://developers.facebook.com/docs/test_users/

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

Sidebar

Related Questions

I'm working on writing a test to be added to an automated test script,
I am working on an automated testing app, and am currently in the process
I am trying to get my Automated builds working with IntelliTrace. When I load
My automated script for starting and stopping VMWare Server virtual machines has stopped working.
I'm trying to load up rails in the test environment using a ruby script.
I had just started working on some automated testing tools, namely test complete, which
I am working on a remote automated test framework for Android based on JUnit
I want to load test the web application that we're working on? Can you
So im working on making an automated test for some code. There is an
I'm writing an automated test framework where after each action (loading a new page

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.