Facebook sdk 4.x is latest set of API for Facebook developers. It has two branches: - Facebook C#/.Net SDK 4.0 - Facebook PHP SDK 4.0
Questions tagged [facebook-sdk-4.x]
211 questions
1
vote
0 answers
Why Facebook SDK Dashboards shows me conflicting data for iOS?
I have followed every step in FBSDK iOS setup helper - including adding correct AppID to *.plist, activating an App with event in correct place etc. I have even tested my App by making test Login button. It worked correctly, homever on dashboard I…

Drwalcore
- 161
- 1
- 13
1
vote
0 answers
Third party Facebook chat application?
I've been sifting through Facebook's developer documentation recently, and found out that Facebook had deprecated their chat API back in 2014. With the SDK for various platforms, however, it still remains possible to send content through an…

Rob Dhaliwal
- 31
- 5
1
vote
0 answers
Facebook Login 4.x | IOS 9 | Swift 2 | Safari View Controller Cookies
i have a problem with new Facebook IOS SDK.
Using SafariViewController with new Facebook SDK is OK for me but it doesn't remember email and password after first login.
In Safari my Facebook account already logged in and here is my code:
let…

ibrahimyilmaz
- 2,317
- 1
- 24
- 28
1
vote
2 answers
Unable to get friends list on Facebook SDK 4 for iOS
I am trying to get list of friends using Facebook SDK with no luck.
This is the code I use:
FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc]
initWithGraphPath:@"me/friends"
…

bashan
- 3,572
- 6
- 41
- 58
1
vote
1 answer
How to re-prompt the permission from the user with FacebookSDK?
I want to implement functionality using FacebookSDK.
As a sample application you can check the url:
https://developers.facebook.com/docs/facebook-login/handling-declined-permissions#reprompt
I have written this code but it is not working for me as…

Ghanshyam Mansata
- 11
- 3
1
vote
1 answer
Cannot install Facebook Android SDK using Gradle in Android Studio
I am developing an Android app. In my app, I need to integrate with Facebook. So I am installing SDK using Gradle following this link. But when I run my app to update Gradle, it is throwing error. How can I fix it to install sdk?
This is my Gradle…

Wai Yan Hein
- 13,651
- 35
- 180
- 372
1
vote
0 answers
Web Facebook Login Button Opens Blank Facebook Page When Clicked Inside iOS Safari View Controller
I have an iOS app I am developing that uses a Safari View Controller to open my website via the app. On the home page of my app I have implemented the Facebook SDK Login Button and everything works fine, I get logged in via Facebook and them and…

Adam Baruh
- 11
- 3
1
vote
1 answer
Facebook SDK app crash after login onActivityResult Android
I am allowing facebook login in my application but it is crash when i press Ok from Facebook Login webview and when i open app again I am able to see logout button at my screen ???
Getting error in OnActivityResult it is crash at there..
Here i am…

Ankit
- 286
- 4
- 16
1
vote
1 answer
Block misbehaving user facebook sdk ios
im building a simple app where users can collaborate with each other but there is a small chance that some of them will decide to post fake information for everyone else to see. This would really affect the app's efficacy so I was wondering if…

DotSlash
- 53
- 8
1
vote
2 answers
SVProgressHud not showing in iOS 9 when app using Login with Facebook
I am using SVProgressHUD in my swift project as a framework. It is working fine in iOS 8. I have login with Facebook in my app. whenever i use the login SVProgressHUD doesn't show through out the app. But when i killed the app and launch…

mahbaleshwar hegde
- 693
- 7
- 21
1
vote
1 answer
Facebook Native Ads API, show video only
I'm using Facebook Audience Native Ads in my android app and I want to show only video ads to my users. Is there a way to detect that the loaded NativeAd will contain video advertising and not just image ?

Mickey Tin
- 3,408
- 10
- 42
- 71
1
vote
1 answer
unrecognized selector sent to instance Error with Facebook SDK for Xcode 7
I am using the recent facebook sdk and parse sdk for ios. When i try to run my app on the simulator i get the following error:
ParseStarterProject-Swift[2841:107652] -[PFUserAuthenticationController authenticationDelegateForAuthType:]: unrecognized…

Beast
- 129
- 1
- 8
1
vote
0 answers
How to Update the iOS 9 app use latest Facebook SDK?
My project is currently compatible with iOS8 (Swift 1.2) version.
It uses the Facebook SDK.
And few days ago I have got the message from it:
Action required for your iOS 9 app Update your app to use Facebook SDK
for iOS v4.6 or v3.24 to support…

Renat Gatin
- 6,053
- 5
- 37
- 58
1
vote
0 answers
Facebook Graph API V2.4 not returning all post data of Facebook page
I am trying to get page post data using facebook PHP SDK v4.0.5.
My app is also approved for manage_pages permission.
Now problem is with the response i am getting from api function:
$fb = new Facebook\Facebook(array(
'app_id' => $appID,
…

Muhammad Sajid
- 75
- 8
1
vote
0 answers
Get id for latest and newest posts on facebook page
How can I get such stuff directly from Graph query? Or I need to write own code which seeking for it from whole feed?

drewpts
- 446
- 1
- 5
- 20