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.
facebook
7,969
questions
372
votes
8
answers
254k
views
Facebook Graph API v2.0+ - /me/friends returns empty, or only friends who also use my application
I am trying to get my friend name and ids with Graph API v2.0, but data returns empty:
{
"data": [
]
}
When I was using v1.0, everything was OK with the following request:
FBRequest* ...
402
votes
12
answers
343k
views
How does Facebook Sharer select Images and other metadata when sharing my URL?
When using Facebook Sharer, Facebook will offer the user the option of using 1 of a few images pulled from the source as a preview for their link. How are these images selected, and how can I ensure ...
35
votes
4
answers
42k
views
Facebook JS SDK's FB.api('/me') method doesn't return the fields I expect in Graph API v2.4+
I'm trying to get some basic information using Facebook api, but so far I only get the user's name and id. As in { name: "Juan Fuentes", id: "123456" }
I need to get mor einformation, like email, ...
762
votes
6
answers
120k
views
What's the shebang/hashbang (#!) in Facebook and new Twitter URLs for?
I've just noticed that the long, convoluted Facebook URLs that we're used to now look like this:
http://www.facebook.com/example.profile#!/pages/Another-Page/123456789012345
As far as I can recall, ...
790
votes
18
answers
478k
views
How to identify if a webpage is being loaded inside an iframe or directly into the browser window?
I am writing an iframe based facebook app. Now I want to use the same html page to render the normal website as well as the canvas page within facebook. I want to know if I can determine whether the ...
245
votes
35
answers
363k
views
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 ...
219
votes
19
answers
202k
views
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 ...
46
votes
5
answers
207k
views
org.openqa.selenium.ElementNotInteractableException: Element is not reachable by keyboard: while sending text to FirstName field in Facebook
The error is:
Exception in thread "main"
org.openqa.selenium.ElementNotInteractableException: Element is not reachable by keyboard
The code is:
System.setProperty("webdriver.gecko....
76
votes
4
answers
114k
views
What are all the custom URL schemes supported by the Facebook iPhone app?
Note
These URL's are likely not available.
Facebook has been updated a number of times and did not officially support any of these.
/Note
I am trying to see what information is available about ...
286
votes
24
answers
159k
views
Android Facebook style slide
The new Facebook application and its navigation is so cool. I was just trying to see how it can be emulated in my application.
Anyone has a clue how it can be achieved?
On clicking the the top left ...
103
votes
5
answers
157k
views
How to check if a user likes my Facebook Page or URL using Facebook's API
I think I'm going crazy. I can't get it to work.
I simply want to check if a user has liked my page with javascript in an iFrame app.
FB.api({
method: "pages.isFan",
page_id: ...
233
votes
3
answers
79k
views
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?
124
votes
20
answers
231k
views
Facebook Android Generate Key Hash
Trying to create an android app with Facebook integration, I've gotten to the part in the docs where you have to generate a key hash file, it specifies to run the following code
keytool -exportcert -...
1783
votes
15
answers
305k
views
How does Facebook disable the browser's integrated Developer Tools?
So apparently because of the recent scams, the developer tools are exploited by people to post spam and even used to "hack" accounts. Facebook has blocked the developer tools, and I can't ...
174
votes
31
answers
371k
views
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 ...