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
5
votes
3 answers

Exclude one class file in gradle Android Studio

In my projects, I need to import third party jar file and Facebook SDK. compile files('libs/SkinSDK.jar') compile 'com.facebook.android:facebook-android-sdk:4.14.0' Both include same BundleJSONConverter class. So, I cannot do generate signed APK.…
saturngod
  • 24,649
  • 17
  • 62
  • 87
5
votes
2 answers

how to get user data from Facebook SDK on iOS

Good afternoon! I need to get user data from Facebook. I successfully get data such as the user name, id, photo. But when you try to query such as marital status, I get a response to an empty dictionary. I tried to make different requests, but…
Alexander Khitev
  • 6,417
  • 13
  • 59
  • 115
5
votes
2 answers

FBLoginManager undeclared type

I installed FacebookSDK using Cocoapods, according to Terminal, I have installed FacebookSDK 4.8.0 (CoreKit, ShareKit and LoginKit), I imported the .h files in my BH-File.h, and already initialized everything in my AppDelegate. For some reason, when…
5
votes
1 answer

How to put Facebook Logout button in the end of navigation view

I have implemented facebook login through facebook sdk 4.3 I have made separate dialog fragment for login of facebook. Till now Every thing is working very well. What I want I want to implement facebook log out button in the bottom of my…
Coas Mckey
  • 701
  • 1
  • 13
  • 39
4
votes
0 answers

Turn off automatic collection of Purchase event only in Facebook SDK for Android

I am upgrading Facebook SDK for android to v5. https://developers.facebook.com/docs/app-events/getting-started-app-events-android# I don`t want the Purchase event to be logged automatically since I have other payment gateways active apart from…
4
votes
2 answers

Converting facebook pixel event to app event in hybrid mobile app

I am trying to send App Events from Hybrid mobile app(cordova). Through Facebook Pixel event can be sent but as stated by this blog - "Sending App Events in the context of a mobile application can provide a number of advantages over sending pixel…
4
votes
1 answer

FBSDKShareLinkContent without deep linking to app

I'm using FBSDKShareLinkContent to display a dialog to share a link to Facebook. No matter the link I use (I even tried with https://google.com/) when the post / link is tapped in the Facebook app my app is launched. I want, however, to load the…
Eric Conner
  • 10,422
  • 6
  • 51
  • 67
4
votes
0 answers

java.lang.SecurityException: Requires MANAGE_APP_TOKENS permission when i use facebook sdk

When we use the Facebook SDK to our app, but some user occur this problem, what is the problem with it?
nicky lin
  • 59
  • 5
4
votes
2 answers

Facebook login page showing blank page in IOS 9

I am using FBSDKCoreKit (4.12.0) FBSDKLoginKit (4.12.0) first i am getting screen 1 This method is block is never called . FBSDKLoginManager *login = [[FBSDKLoginManager alloc] init]; [login logInWithReadPermissions:@[@"email",@"public_profile"]…
MuraliMohan
  • 1,063
  • 1
  • 11
  • 30
4
votes
1 answer

FBSDKGraphRequest cannot post image and text anymore (no more text)

I'm posting to a group user wall, (image and text). It have worked from a long time, and stop working recently(now, image are posted, but no text :( ). Any idea if there was a new way or rules? (no error reported) [params setObject:sContent…
Franck
  • 8,939
  • 8
  • 39
  • 57
4
votes
3 answers

dispatch_once Error when running FacebookSDK

I don't know whats wrong, I installed FacebookSDK using Cocoapods (as always), and I am getting an error in this method: _dispatch_once(dispatch_once_t *predicate, dispatch_block_t block) { if (DISPATCH_EXPECT(*predicate, ~0l) != ~0l) { …
4
votes
2 answers

How to show facebook profile picture on navigation drawer android?

I integrated facebook with my applicatin sucessfully and retrieved user details.In my main activity there is a navigation drawer. I want to show the profile picture as the icon and username as text.I can show username as text by…
Noufal M
  • 163
  • 1
  • 4
  • 12
3
votes
1 answer

Could not find method implementation() for arguments [com.facebook.android:facebook-android-sdk:4.34.0]

Could not find method implementation() for arguments [com.facebook.android:facebook-android-sdk:4.34.0] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler This is the error am getting when integrating…
hasnain
  • 31
  • 2
3
votes
0 answers

Upgrading Facebook-Graph API to latest version on iOS

I'm working on updating an iOS app for a client, and trying to determine what I need to do as far as upgrading the Facebook Graph API from, apparently, 2.5 to 2.12. I'm using Cocoapods, and currently have the following FB pods installed: -…
3
votes
1 answer

Using Facebook android SDK ShareDialog. Clicking cross button of sharedialog returning to application with onSuccess callback

I am using Facebook Android SDK version 4.25 and ShareLinkContent, ShareDialog for posting to Facebook on user behalf using my app. This is the dialog which opens when user clicks my app's share functionality There are two cross icons in…
user8197553
1
2
3
14 15