fbsdk

Facebook Sdk Android Error Building

孤街醉人 提交于 2019-11-27 17:58:57
I am trying to build my react-native project and using react-native fbsdk. However, I get these errors: /home/luiz/MYP/app/node_modules/react-native-fbsdk/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:3: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'. /home/luiz/MYP/app/node_modules/react-native-fbsdk/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:4: AAPT: Error retrieving parent for item: No resource found that matches the given name

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

安稳与你 提交于 2019-11-27 15:19:33
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, which I don't know how to do. I tried to have my class implement AWSIdentityProviderManager and created a

FBSDKAccessToken currentAccessToken nil after quitting app

偶尔善良 提交于 2019-11-27 08:50:01
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 the app and relaunch it. It only works if I press the home button and re-open the app while it's still

Facebook Sdk Android Error Building

回眸只為那壹抹淺笑 提交于 2019-11-27 04:14:59
问题 I am trying to build my react-native project and using react-native fbsdk. However, I get these errors: /home/luiz/MYP/app/node_modules/react-native-fbsdk/android/build/intermediates/res/merged/release/values-v24/values-v24.xml:3: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'. /home/luiz/MYP/app/node_modules/react-native-fbsdk/android/build/intermediates/res/merged/release/values-v24

Facebook Sdk Has Not Been Initialized FacebookSdk.sdkInitialize()

给你一囗甜甜゛ 提交于 2019-11-26 22:49:43
问题 Hey I know this was asked before, but none of the solutions seem to help. I'm using first time Facebook SDK in my application. What I've tried: I had tried most of the things found on Internet but did not get anything regarding this. Here is my MainActivity.java: public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); FacebookSdk.sdkInitialize(getApplicationContext()

How to get email id of user using facebook sdk 4.7 in ios 9

依然范特西╮ 提交于 2019-11-26 18:40:42
问题 Here is my code , I am only getting user name and facebook id of user. FBSDKLoginManager *login = [[FBSDKLoginManager alloc] init]; [login logInWithReadPermissions: @[@"public_profile",@"email",@"user_friends"] fromViewController:self handler:^(FBSDKLoginManagerLoginResult *result, NSError *error) { if (error) { NSLog(@"Process error"); } else if (result.isCancelled) { NSLog(@"Cancelled"); } else { if ([FBSDKAccessToken currentAccessToken]) { [[[FBSDKGraphRequest alloc] initWithGraphPath:@"me