Questions tagged [facebook-sdk-4.x]

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

211 questions
1
vote
2 answers

Getting user's Personal info from FacebookSDK in iOS

I am trying getting info from Facebook API. The parameters are group in couple catalogs. To get data I using these code below from Facebook SDK: FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc] …
Luki
  • 437
  • 2
  • 6
  • 15
1
vote
1 answer

iOS Facebook sdk v4.5.0 . How to share Text Message with post?

I have to replace using Facebook SDK from v3.x to v4.x in my application. When it used old sdk with next code: NSString *msg = [NSString stringWithFormat:@"%@\n%@\n%@", petition.petition_name, petition.recipient, petition.content]; NSDictionary…
chatlanin
  • 5,257
  • 2
  • 16
  • 16
1
vote
2 answers

Android - No such field error in facebook sdk

I'm trying to integrate Facebook SDK in my android app. I downloaded facebook-android-sdk-4.5.1 and followed the steps in the developer guide. As I'm trying to run the sample HelloFacebookSample placed in the samples folder of the SDK, I'm getting…
Linga
  • 10,379
  • 10
  • 52
  • 104
1
vote
2 answers

Is it possible to fetch Facebook Id of Facebook friend after invite them for use my application?

I want to invite my Facebook friend to use my application. I got success to invite them but i want their Facebook Id for my track that to whom i have invited. I am using FBSDKAppInviteDialog for invite friend. Is there any way to get Facebook Id…
Birju
  • 1,132
  • 11
  • 32
1
vote
4 answers

FBSDKGraphRequest Response Issue - Not getting scores

I am using following code to get the game score of my facebook friend. -(void)GetFriendScore { NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys: [NSString…
hitesh landge
  • 362
  • 4
  • 14
0
votes
0 answers

Facebook Connectivity with never ending loader

My app was working fine, few days back and suddenly stops working.All the permissions and advance access are approved by facebook My app connects user and get his public profile, email information as well as pages he manage and through my app user…
0
votes
0 answers

getting error after installing react-native-fbsdk-next on android and react native version 0.68.1

I followed the install steps on react-native-fbsdk-next and when I want to run my project on android, I'm getting this error. Execution failed for task ':react-native-fbsdk-next:compileDebugJavaWithJavac'. Could not resolve all files for…
0
votes
1 answer

Cannot Resolve FacebookSdk in Android Studio

I am stuck in my code while I am implementing Facebook login through firebase. I followed the documentation precisely, however it is not recognizing facebook SDK despite the fact that I can see all Facebook-related libraries in the project's library…
0
votes
1 answer

Mix server and app originated Facebook App Events

I have integrated Facebook SDK App Events in a mobile app (Android and iOS), which automatically sends the launches and installations events, plus some custom events to Facebook. So far so good. Now, I have been asked whether I can send some extra…
geexee
  • 339
  • 2
  • 13
0
votes
1 answer

How to get insights for all Ad in single query with Facebook marketing api

I want to write query in Python, I want all ads performance details in single request or many request. I'd tried using below queries, but it is wrong idea to send multiple times to send request to Facebook, and also Facebook blocks User for 30…
0
votes
1 answer

'A newer version of com.facebook.android:facebook-android-sdk than [5,6) is available: 4.34.0 '

According to the Facebook documentation, I have to add the following line in my Gradle file: implementation 'com.facebook.android:facebook-android-sdk:[5,6)' But I get the error: A newer version of com.facebook.android:facebook-android-sdk than…
toto_tata
  • 14,526
  • 27
  • 108
  • 198
0
votes
0 answers

Facebook SDK login error from Android app

I got this error from the Google playstore version of my Android app. After adding the key hash in the image in my Facebook developers console, I am getting the same exact error. I'd also like to add that I encountered the same error from one of…
0
votes
1 answer

How to fix crash in Facebook LogIn button by pressing cancel

For educational purposes I'm trying to create a simple app to login with Facebook. I imported the SD manually without using Cocoa Pods. This is the code in my app delegates: import UIKit import FBSDKCoreKit @UIApplicationMain class AppDelegate:…
Charlie Lomello
  • 67
  • 2
  • 15
0
votes
3 answers

Get Info and Image with facebook authentication - SWIFT FacebookSDK

I'm trying to learn something about swift and facebook. I integrated the SDK manually without using the pods and so far everything is ok! I created a LogIn button by following some online guides and this works too! Through this code located in the…
Charlie Lomello
  • 67
  • 2
  • 15
0
votes
0 answers

Android FB Login fails on Samsung Galaxy 8/9 & many other devices

I have an android app which crashes with the following error: The SDK has not been initialized, make sure to call FacebookSdk.sdkInitialize() first. I'm initializing the sdk at the first available opportunity and it works fine on my test…
ibyte
  • 463
  • 4
  • 17