Questions tagged [facebook-authorization]
40 questions
6
votes
1 answer
How to use Facebook OAuth2 with 2FA
Is there a way to add 2FA to Facebook's Oauth2 flow? The following error is returned when trying to hit the graph API's insights endpoint for a user that has 2FA enabled on their FB Business Manager account:
"error": {
"fbtrace_id":…

Nick McCoy
- 61
- 3
5
votes
2 answers
User is asked for login credentials during reauthorization
I am trying to implement the new Facebook SDK 3.0 into my Android app and I have run into a problem. The problem I am having is that the user is asked to log in again to give publish ("post_to_wall") permissions, even though the user is already…

Robert Žuljević
- 53
- 4
4
votes
1 answer
Difference between onActivityResult and onComplete of Session.StatusCallback Facebook Android sdk3.0
I'm using Facebook Android sdk3.0.
I want to do something after user successfully log in through Facebook.
Should I implement it inside onActivityResult or the onComplete function of Session.StatusCallback?
Actually is there any difference between…

xiangxin
- 409
- 6
- 18
4
votes
2 answers
posting requires a permission login dialog to appear twice
I am developing a mobile camera app that allows posting a photo on facebook. The camera app is a stand-alone and does not require facebook login when it starts. However I want to allow posting a picture to facebook. It follows that the first time a…

Oriel Bergig
- 41
- 1
- 2
3
votes
1 answer
fb.login popup doesn't display additional requested permissions if popups are blocked
I am trying to request additional permissions at the time of a facebook login using Facebook's suggested Javascript SDK. I am using the scope parameter to make the additional request as a part of the FB.login(). My chrome browser has blocked popups.…

JeffB6688
- 3,782
- 5
- 38
- 58
2
votes
1 answer
Error TypeError: this.onready is not a function from internal browser of the facebook IOS application
I integrated my project with Facebook authorization https://developers.facebook.com/docs/facebook-login/web
The Rollbar shows next error
TypeError: this.onready is not a function. (In 'this.onready(a)',
'this.onready' is undefined)
from file…

Alex Karahanidi
- 921
- 6
- 13
2
votes
0 answers
torii facebook ember get user and name
Hi I want to get name and email from facebook authentication via torii and simple-auth, but I don't know how recovery this data. I can login via facebook but I can't get name or email.
Could you helpme please
This is my code:
//import Base from…

HalleyRios
- 602
- 1
- 4
- 18
2
votes
1 answer
facebook-android-sdk: Force reauthentication using the sdk 3.0.1
Is there a way to trigger a reauthentication dialog using the facebook-android-sdk 3.0.1? It is possible using the JavaScript SDK (see https://developers.facebook.com/docs/facebook-login/reauthentication/), but I haven't found anything for the…

Greeny
- 1,931
- 2
- 17
- 26
2
votes
1 answer
Error 100 This authorization code has been used
I have a simple sign-in button that directs the user to:
https://graph.facebook.com/oauth/authorize?client_id=APP_ID&redirect_uri=CALLBACK_URL&type=web_server&scope=publish_stream,offline_access,email,friends_likes,user_likes.
The callback request…

Matt Sither
- 21
- 2
2
votes
0 answers
Facebook Util.java no log in eclipse logcat
I am working on facebook sso android. I am having problems with keyhash (White blank screen on using facebook android sso). Facebook's android guide says to edit sdk's Uti.java private static boolean ENABLE_LOG = true; I have set it to true.…

hshed
- 657
- 2
- 8
- 21
1
vote
0 answers
How to implement OAuth via Facebook mobile app
We developed a hybrid mobile application as front-end integrated with a backend, which includes a Facebook OAuth service. With this setup social authentication, through the web browser, it works fine.
Now we would like to use the native Facebook app…

chick3n0x07CC
- 678
- 2
- 10
- 30
1
vote
0 answers
Facebook Graph API not fetching details of Gated Posts (Targeted Posts)
I am trying to fetch the information of all the posts published/scheduled on my own facebook page. For gated or posts which are targeted to specific country/language/age it shows the following error. It used to work before now, recently I created a…

pravinbti
- 11
- 3
1
vote
1 answer
Strange FacebookAuthorizationException thrown for some reason
I am using Facebook SDK for PHP. Months ago, when Facebook requested, I have implemented some helper classes for the new Facebook SDK. I am overall satisfied with the result. However, I have seen a strange exception in the exception logs and I do…

Lajos Arpad
- 64,414
- 37
- 100
- 175
1
vote
1 answer
ASPNET MVC4 Facebook app - FacebookAuthorize filter and post data
I've just created a new facebook app, and all works fine, except controller actions which handle the "post" from my app, with [FacebookAuthorize] filter on action; since it creates a redirect and all of my form data is lost. You can see what I am…

icesar
- 498
- 3
- 14
1
vote
4 answers
AppFog - Unauthorized source IP address
I host an Facebook application (https://apps.facebook.com/igoaltip/) on AppFog. Suddenly it stopped working. When I try to get information about the user using user access token (https://graph.facebook.com/me), Facebook returns OAuthException (#5)…

Jakub Kulhan
- 1,572
- 2
- 16
- 37