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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:35:18+00:00 2026-05-26T01:35:18+00:00

Our application behaves fairly differently when a Facebook account is linked to it. In

  • 0

Our application behaves fairly differently when a Facebook account is linked to it. In the web browser, the linking process involves calling FB.login and requesting minimal privileges. This gives the browser a Facebook user ID and a temporary access token, which are then validated server-side to make sure that the access token actually works for the specified user ID.

What I’d like to do is to perform automated testing of the application behaviour with and without a Facebook account linked to it. By far the easiest way of doing it would be to supply credentials to a real Facebook app to the test system, and let it perform real association/disassociation.

A significantly trickier approach would involve making our system believe a Facebook account is linked when it really isn’t. This is undesirable for several reasons:

  • potential for confusion between a real and a fake Facebook association
  • possibly “leaky” tests, whereby something works for a fake but not a real Facebook association
  • a significant amount of extra coding

Does Facebook cater for this type of scenario in any way whatsoever? Like allowing me to register a test account whose login/password can be made semi-public within our company? Or is a fake association the only viable approach?

In other words, is there a Facebook API that I could execute outside of a browser, which does the same thing as FB.login, except that it’s given login/password as arguments and succeeds or fails with zero user interaction?

  • 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-26T01:35:19+00:00Added an answer on May 26, 2026 at 1:35 am

    facebook provides an API that can be used to generate test users (and a corresponding access token) via a simple URL request. Read the following documentation for more info:
    https://developers.facebook.com/docs/test_users/

    Hopefully this will be useful in solving your problem.

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

Sidebar

Related Questions

Our application is interfacing with a lot of web services these days. We have
Our application exposes queries by way of web services, and what we've found is
My boss wants me to test our web application to demonstrate how much traffic
Our application is mining names from people using Twitter to login. Twitter is providing
Our application is a hybrid Win32 unmanaged application and a .NET 2.0 managed application.
Our application has a file format similar to the OpenDocument file format (see http://en.wikipedia.org/wiki/OpenDocument
Our application is structured something like: UI <--> REST API <--> Workflow <--> Business
Our application takes significantly more time to launch after a reboot (cold start) than
Our application is well structured (well we did our best!) and we have split
Our application is written in C++ and used on Windows XP. On some client

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.