All Questions
1,718
questions
68
votes
3
answers
64k
views
Why we need to add <div id="fb-root"></div>
Why we need to add these pair of tags within our facebook application. What's the use of this pairs of tags.
I created an application which use an apprequest, and it works good even if I didn't add ...
42
votes
5
answers
25k
views
Error compile in "Use Facebook Login example"
I'm trying to create the Login Application in this tutorial:
I'm getting this error in my logcat:
11-22 15:57:53.863: E/AndroidRuntime(816): com.facebook.FacebookException: Cannot use ...
34
votes
10
answers
42k
views
Android Facebook SDK: Check if the user is logged in or not
I'm have a feature on my Android app where the user authorizes the app and shares a link.
I also need to give an option for the user to logout of facebook and I need to conditionally disable this ...
32
votes
11
answers
50k
views
Is there a way to detect if the Facebook Javascript SDK loaded successfully?
I use Facebook as the membership system of my website. It uses the code to generate a login control, allowing users to login via their facebook account. It's essentially one click if they're already ...
28
votes
5
answers
21k
views
Android facebook SDK as JAR
Are there any cons of build the facebook SDK library project into a JAR file(as ADT 16 does with library projects) and adding it to your project? I am not changing anything in the facebook SDK so don'...
27
votes
7
answers
71k
views
The container 'Android Dependencies' references non existing library 'facebook-android-sdk\facebook\bin\com_facebook_android.jar'
I am trying to use the facebook sdk within my project, however keep receiving the following error:
The container 'Android Dependencies' references non existing library 'facebook-android-sdk\facebook\...
25
votes
5
answers
21k
views
Facebook SDK 3.0: how to receive user's e-mail?
In the "old" FB iOS SDK I could receive user information via the following:
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
@"...
24
votes
3
answers
10k
views
Facebook SDK 3.1 for iOS - runs on iOS6, but crashes on iOS 5.x
We've just updated our Facebook SDK for iOS to 3.1.
Facebook SDK 3.0.8 didn't run on iOS6, now that we have upgraded to 3.1, it runs on iOS 6, but crashes under iOS 5.x.
because of AdSupport....
23
votes
9
answers
20k
views
facebook javascript sdk fb_xd_fragment?
I am using the facebook javascript sdk to embed a like button in my page.
What is fb_xd_fragment? I see it appends to the end of my url like http://www.example.com/controller/?fb_xd_fragment, and ...
20
votes
2
answers
8k
views
Facebook like and Twitter tweet buttons causing Cross Domain Issues
I am using both the twitter tweet button, and the facebook like button
<a href="http://twitter.com/share"
class="twitter-share-button"
data-url="http://example.com"
data-text="some text"
...
19
votes
4
answers
12k
views
FBSDKShareLinkContent is not setting the contentDescription and contentTitle
I am trying to share a link on the Facebook using FBSDKShareLinkContent.
I have set the URL, description and title. SDK is automatically populates the title and description by information scraped ...
17
votes
1
answer
2k
views
Facebook PHP api: "no url set" - random
I get this error on random occasions:
Fatal error: Uncaught CurlException: 3: No URL set!
thrown in /****/****/***/****/facebook/facebook-client/base_facebook.php on line 905
I am using the latest ...
16
votes
11
answers
34k
views
The "state" param from the URL and session do not match
In facebook documantion
require('include/facebook/autoload.php'); //SDK directory
$fb = new Facebook\Facebook([
'app_id' => '***********',
'app_secret' => '***********************'
]);
$...
16
votes
2
answers
17k
views
FBSession: an attempt was made reauthorize permissions on an unopened session
I'm following this tutorial
to implement the view preview post on Facebook SDK 3.1, but when I call this method
...
// Ask for publish_actions permissions in context
if ([FBSession.activeSession....
16
votes
2
answers
7k
views
Facebook iOS 3.1 sdk login with publish permission callbacks
I'm having trouble logging in with publish permissions in the facebook 3.1 ios sdk.
My app has a button to share a video, and when the user clicks it I want to add the basic + publish permission. As ...