fbsdk

App crashes using Facebook Login SDK when I go to the home screen

放肆的年华 提交于 2019-12-21 10:12:06
问题 I originally downloaded the FBSDK's version 4.10 and integrated them into my application by placing them in the frameworks folder. Realizing that these would not get updated over time, I removed them completely and tried to add them as pods to my project. The pods installed successfully, I have imported them correctly in my bridging header file, and there were no other issues. The pods update installed version 4.11 which has caused me some headache. I am using the FBSDKLoginKit to log a user

Could not find com.android.support:appcompat-v7:25.3.1

江枫思渺然 提交于 2019-12-18 12:19:04
问题 I suddenly started getting this error when trying to build. This was all working a few weeks ago with no changes that I know of. The issue seems to be related to react-native-fbsdk , but looking through its build.gradle it does not list support.appcompat-v7.25.x . Any advice? A problem occurred configuring project ':app'. > A problem occurred configuring project ':react-native-fbsdk'. > Could not resolve all dependencies for configuration ':react-native-fbsdk:_debugCompile'. > Could not find

AWS Cognito Swift credentials provider “logins is deprecated: Use AWSIdentityProviderManager”

∥☆過路亽.° 提交于 2019-12-17 13:26:23
问题 Im trying to allow users to sign up with my app using facebook and Amazon Cognito. I found previous documentation saying to use: let token = FBSDKAccessToken.currentAccessToken().tokenString var logins: NSDictionary = NSDictionary(dictionary: ["graph.facebook.com" : token]) credentialsProvider.logins = [AWSIdentityProviderFacebook: token] but I am getting the message that logins is deprecated and to use the protocol AWSIdentityProviderManager to provide logins to the credentials provider,

FBSDKAccessToken currentAccessToken nil after quitting app

天涯浪子 提交于 2019-12-17 09:46:31
问题 I am developing an ios app using the Facebook SDK to login. I have set a LogInViewController as the initial View Controller in the Storyboard, from where the user logins using the FB account. I have another ViewController which is loaded correctly once the user logs in. In the AppDelegate file I am checking for currentAccessToken and if it is not nil, I am loading directly the second ViewController, because the user is already logged in. However, the currentAccessToken is always nil if I quit

Getting ReactNative FacebookSDK working

岁酱吖の 提交于 2019-12-12 05:12:13
问题 I'm trying to get the FBSDK running in an iOS ReactNative project. I react-native init AwesomeProject to get a brand new project, follow the React Native FBSDK instructions on github, and I get an error in main.m : thread 1:signal SIGABRT A little Googling leads me here then here which has me add a LSApplicationQueriesSchemes key to my info.plist . Fixing that problem. I then follow the Facebook app setup guide that has me add, among other things, an NSAppTransportSecurity key to my info

Issues with the AccessToken in the React Native FBSDK

蹲街弑〆低调 提交于 2019-12-12 01:43:42
问题 I am having trouble with my ability to get the AccessToken in the fbsdk in React Native. I am calling the core as suggested by Facebook: const FBSDKCore = require('react-native-fbsdkcore'); const { FBSDKAccessToken, } = FBSDKCore; And in one scenario I try to write the token in the log as suggested by a similair question stated here on SO. <View> <View style={{flex: 1, alignItems: 'center', padding: 50, marginTop: 250}}> <View> <LoginButton publishPermissions={["publish_actions"]}

Facebook Framework is already added in project but still shows errors like “No such module FBSDKCoreKit” [duplicate]

陌路散爱 提交于 2019-12-11 18:10:00
问题 This question already has answers here : No such module 'FBSDKCoreKit' XCODE 7.4 (12 answers) Closed 3 years ago . I am integrating FB SDK in my swift project and i follow this link and also this link i followed. I also import FBSDKCoreKit in appDelegate.swift file but i am always getting the error like "No Such Module FBSDKCoreKit" I found some solution and even i tried most of these answers also i tried these answers and also followed this link, even i added bridging-header file to project

how to get facebook feeds data

别说谁变了你拦得住时间么 提交于 2019-12-11 10:18:49
问题 I am trying to get logged in users feeds either the users own feed shown on his wall or the latest feed shown of friends. i checked out articles and other posts all of them using the old procedure to get the feed which was depricated by Facebook. now i am using this method but didng getting anything NSMutableDictionary *parameters = [NSMutableDictionary dictionary]; parameters[@"access_token"] = [FBSDKAccessToken currentAccessToken].tokenString; FBSDKGraphRequest *request = [

FBSDKAppInvite sucessfully but can't send notification in fbaccount

余生颓废 提交于 2019-12-11 10:07:31
问题 My info.plist FBSDKAppInviteContent *content =[[FBSDKAppInviteContent alloc] init]; content.appLinkURL = [NSURL URLWithString:@"https://fb.me/450262455167157"]; //optionally set previewImageURL content.appInvitePreviewImageURL = [NSURL URLWithString:@"https://www.apple.com/my_invite_image.jpg"]; // present the dialog. Assumes self implements protocol `FBSDKAppInviteDialogDelegate` [FBSDKAppInviteDialog showFromViewController: self withContent: content delegate: self ]; //FBSDKAppInviteDialog

How to post to user's facebook feed

两盒软妹~` 提交于 2019-12-11 08:47:32
问题 I need to post to user's facebook feed. Based on several other SO questions I came up with the following posting request: let request = GraphRequest(graphPath: "me/feed", parameters: ["message" : "Hello world"], accessToken: accessToken, httpMethod: .POST, apiVersion: GraphAPIVersion.defaultVersion) request.start({ (response, requestResult) in switch requestResult { case .failed(let error): print("error in graph request:", error) case .success(let graphResponse): if let responseDictionary =