Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to handle API errors in Android app using Facebook 3.0 SDK?

I've developed an Android app which uses Facebook SDK 3.0. On developers.facebook.com its showing a lot of API errors most common ones are :

auth.androidauthorizeapp

auth.extendssoaccesstoken

Can someone tell me what I can do to fix these errors ? Your help would be highly appreciated.Thanks.

like image 644
SlashGeek Avatar asked Jul 16 '13 14:07

SlashGeek


1 Answers

From the two errors you've provided, I can't come up with much. However, I wanted to make sure you haven't overlooked the answer.

My suggestion to you is to look at the page below and see if any of the situations given at the link below may apply to your scenario:

See this page on the Facebook Developer site

Here is an excerpt regarding the second error:

"Facebook doesn't notify you that a previously issued access token has become invalid. Unless you have persisted the expiry time passed to your App along with the access token, your app may only learn that a given token has become invalid is when you attempt to make a request to the API."

like image 62
GreekQuestionMark Avatar answered Sep 25 '22 07:09

GreekQuestionMark