Questions tagged [facebook-oauth]

From Facebook Developer Page

Facebook offers several login flows for different devices and projects. Each of these flows use the OAuth 2.0 standard.

The login flows generate an access token, which you can use to make API calls on behalf of a user. Access token persistence and signing of API calls are handled automatically by the Client-side JavaScript SDK, iOS SDK and Android SDK.

822 questions
80
votes
6 answers

Facebook OAuth: custom callback_uri parameters

I'd like to have a dynamic redirect URL for my Facebook OAuth2 integration. For example, if my redirect URL is this in my Facebook app: http://www.mysite.com/oauth_callback?foo=bar I'd like the redirect URL for a specific request be something like…
Jacob
  • 77,566
  • 24
  • 149
  • 228
61
votes
4 answers

Get application id from user access token (or verify the source application for a token)

I found this question, which has an answer, but facebook changed the token format since then, now it is something like: AAACEdEose0cBACgUMGMCRi9qVbqO3u7mdATQzg[more funny letters]ig8b3uss9WrhGZBYjr20rnJu263BAZDZD In short, you cannot infer anything…
Jonathan Levison
  • 2,617
  • 1
  • 18
  • 22
60
votes
7 answers

How to extend access token validity since offline_access deprecation

Since the offline_access Permission is deprecated in Facebook's Authentication flow, we have problem getting the so called long lived access tokens without that permission. In Facebook's document about the deprecation it says, that server side OAuth…
58
votes
1 answer

Timeline for "Device Login" and/or alternatives to offline_access + one time login

I have a small, dinosaur-era command line interface (CLI) app for facebook. There's not a huge user base, but it has its niche. Its most altruistic usage is by those who are partially blind and rely on other text-based command line interfaces. It…
43
votes
5 answers

How to make Facebook Login possible in Django app ?

I have created a Django application. The app has a login functionality. Can somebody help to find a way to make it possible to login using Facebook credential or point me some tutorials to implement it ?
rv_k
  • 2,383
  • 7
  • 39
  • 52
39
votes
5 answers

Java example of how to log in to Google App Engine with a Facebook account using OAuth

I searched a lot, read many blogs, articles, tutorials, but until now did not get a working example of using a Facebook account to log in to my application. I know that I have to use OAuth, get tokens, authorizations, etc... Can anyone share an…
LeandroRezende
  • 403
  • 1
  • 5
  • 8
34
votes
1 answer

Weird url appended "#_=_"

Possible Duplicate: Play Framework appending #= to redirect after Facebook auth via OAuth2? Has anyone else seen this happen? I am building a Facebook canvas app using the Facebook PHP SDK, and some Javascript. Now when I take the user through…
bool.dev
  • 17,508
  • 5
  • 69
  • 93
30
votes
2 answers

How do I/Can I create a Facebook app for my company without using my personal Facebook account?

My question is similar to this, but I'm writing from a developer's perspective rather than the company's. I prefer to keep my personal and professional lives separate, and thus would like to be able to create Facebook apps not tied to my personal FB…
user770215
  • 753
  • 1
  • 6
  • 11
25
votes
1 answer

What is supposed to be the redirect_uri when getting access token in facebook app?

$token_url = "https://graph.facebook.com/oauth/access_token?client_id=" . $app_id . "&redirect_uri=" . urlencode($my_url) . "&client_secret=" . $app_secret . "&code=" . $code; What is supposed to be the redirect_uri? I tried using…
user1004404
  • 259
  • 1
  • 3
  • 3
24
votes
1 answer

Don't understand "(#4) User request limit reached"

{ "error": { "message": "(#4) User request limit reached", "type": "OAuthException" } } I'm not sure the cause of this error, and yes I've done lots of searching around for similar user's problems (they are error #17, or app limit…
Mike Lambert
  • 1,976
  • 1
  • 17
  • 31
24
votes
1 answer

Passport.js: passport-facebook-token strategy, login through JS SDK and THEN authenticate passport?

I was looking for a way to let my client authorize with the facebook JS SDK and then somehow transfer this authorization to my node server (so it can verify requests with the fb graph api) I stumbled…
23
votes
3 answers

Passport & JWT & Google/Facebook Strategy - How do I combine JWT and Google/Facebook Strategy?

This question is for anyone who is familiar with Node.js Express Passport JWT Authentication with passport (JSON Web Tokens) Facebook OAuth2.0 OR Google OAuth2.0 I have been doing some online courses and understand how to do the two following…
Vaderico
  • 629
  • 2
  • 8
  • 24
23
votes
2 answers

Rails JSON API oauth authentication

I've been researching the best approach for implementing facebook, twitter, and email/password authentication for a pure JSON rails 4.1 application that uses rails-api. The rails app has NO views and just serves JSON between android and iphone…
John
  • 4,362
  • 5
  • 32
  • 50
23
votes
4 answers

Is there any way to fetch all Facebook events in a specific city?

Can I fetch all Facebook events in a specific city? All I need is event IDs nothing else. It should be all events (public), not only someone's events. Will Facebook let us fetch that info?
user1828462
  • 239
  • 1
  • 2
  • 3
21
votes
2 answers

Facebook Connect for Flask

With Flask-OpenID there's a really nice OpenID module for the Flask framework. However, facebook only supports FBconnect and no real OpenID. I'm looking for a modified version of Flask-OpenID (if one exists) which supports FBconnect or a library…
ThiefMaster
  • 310,957
  • 84
  • 592
  • 636
1
2 3
54 55