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

  • Home
  • SEARCH
  • 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 8685321
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T22:32:18+00:00 2026-06-12T22:32:18+00:00

This is the first time I have integrated facebook into an app so I

  • 0

This is the first time I have integrated facebook into an app so I am sure I must have missed something. The problem I’m having is that I can only access my OWN facebook account through my iOS app with facebook integration.

The specifics:
I integrated facebook (SDK 3.1) into my app (xcode 4.5) successfully. The very first time I logged into facebook through my app it asked for my password, etc. Works fine on the simulator and my iPhone (iOS 6) to access my friends and their info, BUT here are the two problems:

1) When I click the “facebook logout” button that I set up, and then I log back in, it says I am “already authorized” to use the app. There is no option to change the facebook user.

2) I sent the app to a friend through testflight and when he opens it on his phone and clicks log in to Facebook with his own account, he gets an error that reads “com.facebooksdk error 2.”

Why can’t I change the facebook user who is using the app? I followed the tutorial called “Login” on the Fb app developer website to set this up: https://developers.facebook.com/docs/howtos/login-with-facebook-using-ios-sdk/

I also used some code from the “Run SQL Queries” tutorial to grab my friends photos: https://developers.facebook.com/docs/howtos/run-fql-queries-ios-sdk/

Can any help or point me in the right direction?

  • 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-12T22:32:19+00:00Added an answer on June 12, 2026 at 10:32 pm

    You should add your friend as a developer to the app (in the ‘Roles’ part of the app dashboard for your app).

    If you want to deauthorize the app, go the desktop version of Facebook, and in the account settings (under ‘Apps’), delete the app in question. You’ll be asked to reauthorize when you run the app up again.

    You might also find this sample in the SDK useful: https://github.com/facebook/facebook-ios-sdk/tree/master/samples/SwitchUserSample

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

Sidebar

Related Questions

This is the first time I have attempted to create a .dll, that will
I am using $SUB for the first time and have come across this problem.
I have a database that is currently sharded. This is the first time that
I have some problem with this mongoid. It's my first time to use mongoDB,
This is the first time I have manipulated hashes and arrays in this way
So this is my first time I have to work with the IPad camera
It's the first time I have done anything like this but wondered what the
this is my first time posting here, I have a question which I have
I have a task in Python and i run this task for first time
Sorry, this's my first time to ask a question here. So, I don't have

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.