Questions tagged [facebook]

Facebook Platform lets developers integrate their apps directly into the Facebook social networking service. Use this tag for questions which may arise when developing FOR Facebook. This tag is NOT for support questions about using the Facebook website or the official Facebook app. It is also NOT for questions of the “I want to implement a feature similar to what Facebook has” variety.

The Facebook Platform is a software environment provided by the social networking service Facebook for third-party developers to create their own applications and services that access data in Facebook. It lets developers integrate their applications directly into the Facebook social networking service.

The platform offers a set of programming interfaces and tools which enable developers to integrate with the of personal relations and other things like songs, places, and Facebook pages. Applications on facebook.com, external websites, and devices are all allowed to access the graph. Launched on May 24, 2007, Facebook Platform has evolved from enabling development just on facebook.com to one also supporting integration across the web and devices.

Documentation

Facebook SDKs

Tools

Support

News

Apps

Report Bugs

Non-developer questions

For questions from a user perspective, (such as uploading your photos, privacy settings, who can post to your wall, etc.) please refer to our sister site Web Applications.

More information:

85660 questions
175
votes
31 answers

Open Facebook page from Android app?

from my Android app, I would like to open a link to a Facebook profile in the official Facebook app (if the app is installed, of course). For iPhone, there exists the fb:// URL scheme, but trying the same thing on my Android device throws an…
Björn Marschollek
  • 9,899
  • 9
  • 40
  • 66
171
votes
11 answers

Facebook share link without JavaScript

The following link is for sharing a page on Twitter: http://twitter.com/share Is there a similar option for Facebook that doesn't require JavaScript? I know about http://facebook.com/sharer.php, but that requires a get parameter to be inserted…
Web_Designer
  • 72,308
  • 93
  • 206
  • 262
164
votes
6 answers

Where does one set the Oauth Redirect URI for Facebook apps?

We are being asked to set the OAuth redirect URI for Facebook (as shown below) in the instructions to set up Google Firebase to use Facebook login. We clicked in every menu for our app. Where is it? Could it be called something different? From the…
Praxiteles
  • 5,802
  • 9
  • 47
  • 78
163
votes
3 answers

How to get a JSON string from URL?

I'm switching my code form XML to JSON. But I can't find how to get a JSON string from a given URL. The URL is something like this: "https://api.facebook.com/method/fql.query?query=.....&format=json" I used XDocuments before, there I could use the…
ThdK
  • 9,916
  • 23
  • 74
  • 101
152
votes
17 answers

Facebook login message: "URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings."

Important notice: If you register for testing, go to your profile settings and to your interests add delete profile. Trying to login with Facebook to my website: I get the following error: URL Blocked: This redirect failed because the redirect URI…
Amir Rahbaran
  • 2,380
  • 2
  • 21
  • 28
144
votes
18 answers

Unable to add window -- token android.os.BinderProxy is not valid; is your activity running?

I try to connect to Facebook throught Facebook API, I follow this example: https://github.com/facebook/facebook-android-sdk/tree/master/examples/simple Everything is ok, but when I try to edit some code, I mean I want to display the dialog post…
Han Tran
  • 2,073
  • 4
  • 22
  • 37
144
votes
11 answers

Facebook database design?

I have always wondered how Facebook designed the friend <-> user relation. I figure the user table is something like this: user_email PK user_id PK password I figure the table with user's data (sex, age etc connected via user email I would…
Marin
  • 12,531
  • 17
  • 56
  • 80
143
votes
21 answers

Safari 3rd party cookie iframe trick no longer working?

So this is the umteenth revenge of the "how do I get 3rd party cookies to work in Safari" question but I'm asking again because I think the playing field has changed, perhaps after February 2012. One of the standard tricks to get 3rd party cookies…
gs hurley
  • 1,451
  • 2
  • 10
  • 4
141
votes
11 answers

App not setup: This app is still in development mode

I have followed the instructions here: The developers of this app have not set up this app properly for Facebook Login? Made my app public and the circle is green so the app is public. But when I try to login, I go to the Facebook app, it asks me to…
Sarayee
  • 1,423
  • 2
  • 10
  • 7
140
votes
7 answers

How do popular apps authenticate user requests from their mobile app to their server?

Say I have an Android application that connects to a .Net API for receiving/setting data. The confusion that I have is regarding how to sign-up/login the user first time and authenticate it every time they make a request to the API. If I just use…
Maven
  • 14,587
  • 42
  • 113
  • 174
137
votes
12 answers

How to get share counts using graph API

I can get the share count of an URL using PHP SDK and using the deprecated rest API, but didn't find a way to get the share counts of an URL using graph API. Is there any way to find out?
Ashish Pethkar
  • 1,558
  • 4
  • 12
  • 10
136
votes
3 answers

In Flux architecture, how do you manage Store lifecycle?

I'm reading about Flux but the example Todo app is too simplistic for me to understand some key points. Imagine a single-page app like Facebook that has user profile pages. On each user profile page, we want to show some user info and their last…
Dan Abramov
  • 264,556
  • 84
  • 409
  • 511
135
votes
7 answers

How to verify Facebook access token?

There's only thing that server has to do; just check any access token's validity. Clients send to the server user id and access token obtained by FB.getLoginStatus. As I expected, there would be any URL that checks access token's validity, like…
So Jae Kyung
  • 1,361
  • 2
  • 9
  • 3
135
votes
5 answers

Open Graph namespace declaration: HTML with XMLNS or head prefix?

I have seen conflicting information on how to best implement Open Graph namespaces. Specifically, the Open Graph website uses a few different methods, and the Facebook Open Graph examples use other methods. Open Graph website example (using HTML…
Matt Beckman
  • 5,022
  • 4
  • 29
  • 42
134
votes
16 answers

Get user profile picture by Id

I'm now working on a web application which is mostly based of facebook graph api. I hold some data about users - actually , the possible public data available - such as name and id. I also know that a profile picture is a part of the public data,…
user975343