doubleA
doubleA

Reputation: 2456

Unable to run sample Facebook App

I have been working on this all day. I have followed multiple tutorials including the one on facebooks developers site and the one on mybringback.com. I am just trying to get the sample application working. So far it works on the emulator. it allows me to sign in. Granted i have not installed the facebook apk on the emulator. On my phone i just get 'An error has occured.' message. The stack trace only gives an error message when the app crashes upon exiting. Error is Unable to resume activity... caused by Failure delivering result ResultInfo.... its a null pointer exception when the application tried to resume from attempting facebook login.

com.facebook.android com.facebook.android.HackBook

Is there anything else that i need to do with the sample application besides replace the app_id?

Is there anything else that might affect my application from logging into facebook?

Just trying to get a new direction on this because i feel like i have exhausted my brain resources.

Upvotes: 2

Views: 603

Answers (1)

doubleA
doubleA

Reputation: 2456

So..... I feel a little stupid but i cannot believe that i did not stumble on this info in my searches.

My application was not working because i had facebook already installed on my phone and i was logged in as a different user than i develop with. Once i logged out in the actual facebook application everything worked flawlessly.

Not an error in settings. Thanks for all your help Viewers there was actually not much to go on since everything was actually setup correctly.

Upvotes: 3

Related Questions