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
245
votes
35 answers

Key hash for Android-Facebook app

I'm working on an Android app, in which I want to integrate a Facebook posting feature. I downloaded the Facebook-Android SDK, and I got the readme.md (text file) in there, in which it is mentioned to generate the key hash for Android. How do I…
ravi babu
  • 2,451
  • 3
  • 15
  • 3
241
votes
30 answers

Android Facebook integration with invalid key hash

In one of my apps I need to get data from Facebook... I am doing this: I have created app ID. It logs in successfully, but after logging out, I log in, and then it gives me: What is wrong I am doing? I am using the Facebook SDK... I have installed…
Android
  • 8,995
  • 9
  • 67
  • 108
233
votes
10 answers

The calling thread must be STA, because many UI components require this

I am using http://www.codeproject.com/KB/IP/Facebook_API.aspx I am trying to call the XAML which is created using WPF. But it gives me an error: The calling thread must be STA, because many UI components require this. I don't know what to do. I am…
C..
  • 6,897
  • 10
  • 30
  • 37
233
votes
3 answers

What APIs are used to draw over other apps (like Facebook's Chat Heads)?

How does Facebook create the Chat Heads on Android? What is the API to create the floating views on top of all other views?
Daniel A. White
  • 187,200
  • 47
  • 362
  • 445
220
votes
18 answers

Facebook: Permanent Page Access Token?

I work on a project that has Facebook pages as one of its data sources. It imports some data from it periodically with no GUI involved. Then we use a web app to show the data we already have. Not all the information is public. This means I have to…
Vlasec
  • 5,500
  • 3
  • 27
  • 30
208
votes
30 answers

React-Native: Application has not been registered error

I am currently going through the React-Native tutorials. I began with the Getting Started tutorial, where I made a new react native project and successfully managed to run the project on my device. I then started the Props tutorial, I copied the…
Adam
  • 2,418
  • 3
  • 17
  • 22
207
votes
5 answers

What does a Ajax call response like 'for (;;); { json data }' mean?

Possible Duplicate: Why do people put code like “throw 1; ” and “for(;;);” in front of json responses? I found this kind of syntax being used on Facebook for Ajax calls. I'm confused on the for (;;); part in the beginning of…
Mridul Kashatria
  • 4,157
  • 2
  • 18
  • 15
206
votes
11 answers

How to segue programmatically in iOS using Swift

I'm creating an app that uses the Facebook SDK to authenticate users. I'm trying to consolidate the facebook logic in a separate class. Here is the code (stripped for simplicity): import Foundation class FBManager { class func…
Shlomi Schwartz
  • 8,693
  • 29
  • 109
  • 186
203
votes
11 answers

How to Test Facebook Connect Locally

I use ASP .NET and Facebook Connect APIs. but when I run the app and press Connect button it's return to the Website not to the test local server which is (http://localhost:xxxx/test.aspx) So how I can test Facebook locally (i.e How I can change the…
Haytham
  • 2,031
  • 2
  • 13
  • 3
184
votes
4 answers

How can I set a website image that will show as preview on Facebook?

When you share a link on facebook it will automatically find images on the website and randomly picks one as a preview. How can you influence the preview image? When a person shares the website link on his facebook?
Mark
  • 16,906
  • 20
  • 84
  • 117
184
votes
4 answers

What is the attribute property="og:title" inside meta tag?

I have this extract of website source code: What does this property attribute stand for, and what is its purpose?
luca
  • 36,606
  • 27
  • 86
  • 125
184
votes
20 answers

Facebook development in localhost

Just wanted to know if there is any way I could develop Facebook applications in localhost.
Abhishek
  • 6,862
  • 22
  • 62
  • 79
180
votes
3 answers

String to Dictionary in Python

So I've spent way to much time on this, and it seems to me like it should be a simple fix. I'm trying to use Facebook's Authentication to register users on my site, and I'm trying to do it server side. I've gotten to the point where I get my access…
LunaCodeGirl
  • 5,432
  • 6
  • 30
  • 36
178
votes
22 answers

Facebook Open Graph not clearing cache

I'm having troubles with my meta tags with Open Graph. It seems as though Facebook is caching old values of my meta tags. Old values for Attributes og:title and og:url are still used, even though I have changed them already. I ran Lint on a page in…
Ardee Aram
  • 4,740
  • 8
  • 36
  • 37
178
votes
3 answers

Facebook Architecture

I have been scrounging for articles/info about the architecture at Facebook, the challenges & ways they tackle them. What they use & why they use. How do they scale & what are the design decisions for what they do etc. Main underpinning being to…
Srikar Appalaraju
  • 71,928
  • 54
  • 216
  • 264