facebook-sdk-4.0

Facebook SDK and sharing a Play Store app link with ShareDialog issue

隐身守侯 提交于 2019-12-03 17:26:44
I'm trying to share a link(my Google Play app link) using ShareDialog from Facebook SDK but the problem is that when the URL is my app's Google Play link the other information is not displayed correctly... Actually it's displaying only the link from Google Play without name or description! Here's the code: FacebookDialog shareDialog = new FacebookDialog.ShareDialogBuilder( this) .setLink("https://play.google.com/store/apps/details?id=<myapp>") .setDescription("Test") .setName("Test for facebook") .build(); uiHelper.trackPendingDialogCall(shareDialog.present()); I tried everything and with

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

非 Y 不嫁゛ 提交于 2019-12-03 16:43:54
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 0.40 react-native-fsdk 0.5.0 facebook sdk: 4.19.0 Bruno Lemos EDIT: I recommend using CocoaPods so you don't need to download/update the sdk manually. If you downloaded the sdk manually, try this: Open your ~/Documents/FacebookSDK folder; Check if it has these cloud icons right of the filenames: If so, macOS removed your files from your computer and uploaded

iOS 9 Facebook Access Token is nil on future app launches

扶醉桌前 提交于 2019-12-03 12:03:20
问题 After the recent iOS 9 update, along with updates to the Facebook SDK (4.6.0), I'm finding that my login session is no longer persisting between app launches. My flow so far has been pretty simple. Login to Facebook using the FBSDKLoginButton . On future View's and Launches check the FBSDKAccessToken.currentAccessToken() to be able to then use Facebook in the app. What I'm finding is after the recent updates my AccessToken is now showing up as nil if I close and start the app again. This is a

FBSDKLoginManager logInWithReadPermissions?

旧时模样 提交于 2019-12-03 08:40:24
问题 I'm using FBSDKLoginButton to allow to user login using Facebook and using FBSDKLoginButton.readPermissions = @[@"public_profile",@"email",@"user_likes",@"email",@"user_birthday"]; to ask for permissions , but I need one more permission which is publish_actions I should use FBSDKLoginManager with logInWithReadPermissions:@[@"public_profile",@"user_likes",@"user_birthday"] logInWithPublishPermissions:@[@"publish_actions"] but this for some reason affect on my permission "some of my permission

Why am I getting an error regarding Bolts framework and FacebookSDK when I'm not even using Bolts?

你离开我真会死。 提交于 2019-12-03 06:30:04
问题 Getting this error framework not found Bolts for architecture x86_64 Followed Facebook's guide word for word, but the only place I can think of an error with linking happening is in the Build Settings for Framework Search Paths. All I currently am attempting in the app is to add a Facebook Login in button, simply visually to make sure it's loading visually. No method functionality is added, but I can't even build the project in this current state. 回答1: Open the project in Xcode. Go to where

How to extend facebook access token in python

不羁岁月 提交于 2019-12-03 03:41:39
I am using the Python facebook-sdk client library. I currently have a short-lived access token obtained from https://developers.facebook.com/tools/accesstoken/ that I copy the code from the site into my code for authentication. graph = facebook.GraphAPI(access_token) This token however expires after 60-mins. I am looking to extend this to a 60 day-long lived token so that don't need to manually copy in new every time it expires. I can find numerous answers on how to do this in different formats, however not python (or at least not simply without log in page etc.). [for reference, the code I

swift 2 parse facebookSDK ios9

柔情痞子 提交于 2019-12-03 03:34:05
问题 I am trying to Log In a user via Facebook. In the previous version of swift 1.2 everything worked perfectly, but after migration I can't seem to log in via my FB account I am still getting the error saying: -canOpenURL: failed for URL: "fbauth://authorize/?client_id=... error: "This app is not allowed to query for scheme fbauth" Can you please help me with that? 回答1: I suggest following the instructions from Facebook to prepare an app for iOS 9: https://developers.facebook.com/docs/ios/ios9

Open Facebook Messenger in Android

隐身守侯 提交于 2019-12-03 01:23:47
问题 I want to open facebook messenger by code. How I can get the facebook ID?? I have the facebook SDK on my app and I saved for every user the facebookId but is not the same as I need Here is my method: // Make sure the Facebook Messenger for Android client is installed boolean isFBInstalled = isAppInstalled("com.facebook.orca"); if (!isFBInstalled) { Toast.makeText(this,"Facebook messenger isn't installed. Please download the app first.", Toast.LENGTH_SHORT) .show(); } else { // Create the

FBSDKLoginManager logInWithReadPermissions?

旧城冷巷雨未停 提交于 2019-12-02 22:32:30
I'm using FBSDKLoginButton to allow to user login using Facebook and using FBSDKLoginButton.readPermissions = @[@"public_profile",@"email",@"user_likes",@"email",@"user_birthday"]; to ask for permissions , but I need one more permission which is publish_actions I should use FBSDKLoginManager with logInWithReadPermissions:@[@"public_profile",@"user_likes",@"user_birthday"] logInWithPublishPermissions:@[@"publish_actions"] but this for some reason affect on my permission "some of my permission are missing check image Code:- FBSDKLoginManager *login = [[FBSDKLoginManager alloc] init]; [login

Why am I getting an error regarding Bolts framework and FacebookSDK when I'm not even using Bolts?

核能气质少年 提交于 2019-12-02 20:03:58
Getting this error framework not found Bolts for architecture x86_64 Followed Facebook's guide word for word, but the only place I can think of an error with linking happening is in the Build Settings for Framework Search Paths. All I currently am attempting in the app is to add a Facebook Login in button, simply visually to make sure it's loading visually. No method functionality is added, but I can't even build the project in this current state. Open the project in Xcode. Go to where you extracted the FacebookSDK. If you're using Mac OSX, it should be available in Documents/FacebookSDK .