Questions tagged [facebook-sdk-4.0]

Facebook sdk 4.0 is latest set of API for facebook developers. It has two branches: - Facebook C#/.Net SDK 4.0 - Facebook PHP SDK 4.0 Use apt tag among two.

Facebook sdk 4.0 is latest set of API for facebook developers. It has two branches:

  • Facebook C#/.Net SDK 4.0
  • Facebook PHP SDK 4.0

Use apt tag among two.

1172 questions
7
votes
3 answers

Post Id facebook share dialog always return null in Android

I used test app id and log on by test user create at dash_board app on facebook develop site, require pulish_actions permission when login using login button widget of facebook sdk but result get postid always = null. Here is my…
7
votes
2 answers

FBSDKProfile currentProfile is nil but FBSDKAccessToken currentAccessToken has value

Just like what the title says, is this a bug or is it really possible? I use the [FBSDKAccessToken currentAccessToken].tokenString to check whether an existing Facebook session is existing, then afterwards I'll use the [FBSDKProfile…
Vikkowapo
  • 103
  • 1
  • 9
7
votes
1 answer

Crash in openURL: Possible Facebook SDK bug in iOS 9

Context I am using the FBSDKLoginButton with my app. I am on Xcode 7.0 and my iPhone is running iOS 9 beta 3. I followed every step showed by Facebook (creating the app, etc) and followed the steps for adding the button as in…
Valentin Mercier
  • 5,256
  • 3
  • 26
  • 50
7
votes
4 answers

Facebook login fails (always isCancelled) after upgrading to SDK 4.1

I have upgraded Facebook SDK from 3.21.1 to 4.1 in an iOS app (already live). I followed carefully the upgrade guide, and implemented the new methods for login. The code I used is the one provided in Facebook documentation. But since the upgrade,…
winterized
  • 3,324
  • 3
  • 19
  • 21
6
votes
2 answers

Where is the FBSDKSettings.setAutoLogAppEventsEnabled(true) method?

I can't find the FBSDKSettings class in the newest Facebook SDK version which is on CocoaPods. Can you help?
SeverinCH3047
  • 121
  • 1
  • 6
6
votes
2 answers

Facebook SDK Share Image with Text

Prior to using Facebook SDK we used to share via UIActivityViewController since Facebook does not allow for us to pre-fill information on the user sharing, our solution was to use information the user description of the Image being share…
Diogo Antunes
  • 2,241
  • 1
  • 22
  • 37
6
votes
6 answers

FBSDKCoreKit/FBSDKCoreKit.h file not found error react-native ios

Try to install Facebook SDK to react natiove IOS. I have FBSDKCoreKit/FBSDKCoreKit.h file not found error and spent several hours trying to solve it with different solutions, but can't understand whats going wrong(( Any ideas? react-native…
Tony
  • 566
  • 2
  • 5
  • 16
6
votes
2 answers

The SDK has not been initialized, make sure to call FacebookSdk.sdkInitialize() first

I have this error when implementing the Facebook SDK and i tried - many of the - solutions but none of then worked. This is what i have: @Override protected void onCreate(@Nullable Bundle savedInstanceState) { …
Misters
  • 1,337
  • 2
  • 16
  • 29
6
votes
1 answer

How can I invite facebook friends like Sounds app did?

I saw that Sounds app can invite all my Facebook friends to install this application by press only one OK button. How can I do that?
mr.icetea
  • 2,607
  • 3
  • 24
  • 42
6
votes
1 answer

Undefined symbols for architecture armv7 for FBSDKLoginCore

I recently encountered this error when trying to implement Facebook Login using Parse SDK and Facebook SDK. I took the following steps: Imported the following frameworks Listed them under bridging header I get the following errors after I…
htjohn
  • 422
  • 7
  • 21
6
votes
3 answers

FacebookActivity did not call finish() on Api 23+

I am using facebook sdk in my app. In order not to show the solo progress bar when facebook button is clicked, I am using:
6
votes
4 answers

After update iOS 9 and Facebook sdk 4.6 the login window not open

I update my Xcode to 7 , and Facebook to 4.6 sdk. this My warning : Warning: Attempt to present on whose view is not in the window hierarchy! in My project the BitCode is…
Roei Nadam
  • 1,780
  • 1
  • 15
  • 33
6
votes
1 answer

Android facebook sdk 4.0 ProfileTracker onCurrentProfileChanged never gets called

I am trying to track user profile with ProfileTracker class using new Facebook sdk version 4.5. When user login with Facebook in my app (and Facebook native app is installed in device) then it login successfully with current user account in native…
Nouman Bhatti
  • 1,777
  • 4
  • 28
  • 55
6
votes
2 answers

Facebook: refresh AccessToken on Android

They are saying in the AccessToken docu the following: "Native mobile applications using Facebook's SDKs will get long-lived access tokens, good for about 60 days. These tokens will be refreshed once per day when the person using your app makes a…
6
votes
3 answers

Post image on facebook using FBSDK 4.x for iOS

For the new Facebook SDK 4.x (4.1) for iOS had new changes with the frameworks . It includes 3 different framework as like Core Sharing Login. To share any image I used FBSDKSharePhoto Class. But it has method [FBSDKSharePhoto…
Esha
  • 1,328
  • 13
  • 34