facebook-sdk-3.0

facebook sdk android, how to get user phone number?

余生长醉 提交于 2019-12-07 16:15:25
问题 I want to know the user's phone number, but I can't find any mention in this documentation. Is there any way to obtain the user's phone number? 回答1: https://developers.facebook.com/blog/post/2011/01/14/platform-updates--new-user-object-fields--edge-remove-event-and-more/ Update: The user_address and user_mobile_phone permissions have been removed. Please see this post for more info. The post: https://developers.facebook.com/blog/post/447/ We’ll be working to launch these updates as soon as

Error on exported apk - FacebookSDK

℡╲_俬逩灬. 提交于 2019-12-06 14:44:27
So, I have this app and several activitys do querys an external database via Asynk Task and with the results it populates the layout. So far so good, it all worked fine until I exported the app. After I sign exported the app it started crashing at this activity that uses the facebook sdk ( and it's the only one who does ). from the json String it gets a name and with the facebook sdk it posts a link on facebook that in the description has that name. ( I don't know if the problem is here but shouldn't be ) so, I decided to run log cat on the exported apk while she was runnning ( I made her

Facebook login in IOS works on emulator but not on device with native app installed

寵の児 提交于 2019-12-06 13:20:59
Facing the following problem: need to perform Facebook login in IOS 7. The thing goes right on the emulator but when running it on device with native app installed, the session give not permission to perform the login. Using the code to create session: The checarLogin method works like: I have googled to find it and figured out that the device settings that control the permissions of Facebook app works differently in the two cases: Emulator give the permission with no issues: The following image was took from emulator too, but only to illustrate the way the device works by default: So the

java.lang.IllegalStateException: Orca SharedPreferences used before initialized

谁说胖子不能爱 提交于 2019-12-06 01:41:33
问题 I have integrated the Facebook SDK for android v3.5 in my app and included the install publishing code: com.facebook.AppEventsLogger.activateApp(this); But I am receiving a lot of crashes caused by: Settings.java line 418 com.facebook.Settings.getAttributionId and it's throwing the exception: java.lang.IllegalStateException: Orca SharedPreferences used before initialized I have been trying to reproduce the crash with no success. Has anybody encountered this issue? I just want to know if: /*

facebook sdk android, how to get user phone number?

北战南征 提交于 2019-12-06 01:14:53
I want to know the user's phone number, but I can't find any mention in this documentation . Is there any way to obtain the user's phone number? https://developers.facebook.com/blog/post/2011/01/14/platform-updates--new-user-object-fields--edge-remove-event-and-more/ Update: The user_address and user_mobile_phone permissions have been removed. Please see this post for more info. The post: https://developers.facebook.com/blog/post/447/ We’ll be working to launch these updates as soon as possible, and will be temporarily disabling this feature until those changes are ready. We look forward to re

Facebook SDK : ApiException:The proxied app cannot request publish permissions without having being installed previously

天大地大妈咪最大 提交于 2019-12-06 01:06:17
问题 I am struggling with the Android facebook SDK 3.5 riigth ow. Everything works perfect with my accounts. Now I gave the App to a friend of mine and when he loggs in he does notget glogged in because of this failure: ApiException:The proxied app cannot request publish permissions without having being installed previously 11-19 12:18:43.530: W/System.err(13495): com.facebook.FacebookAuthorizationException: UnknownError: ApiException:The proxied app cannot request publish permissions without

Firebase simple login in iOS

我的未来我决定 提交于 2019-12-05 06:38:53
问题 I am using FirebaseSimpleLogin for authenticating my app via facebook. I have updated .plist file with facebookapp id and display name. I have also registered bundle id of my app. As suggested in docs, i have also implemented openUrl in AppDelegate and following method in my login with Facebook button. But console is showing third party provider error occurred. Anyone have any clue?? - ( IBAction ) onBtnFacebook : ( id ) sender { [self.authClient loginToFacebookAppWithId:@"767056019984823"

Android - Existing Fragment Conflicting with Facebook SDK?

℡╲_俬逩灬. 提交于 2019-12-04 21:31:05
I'm developing an Android app and am to the point where I would like to integrate Facebook login onto the main page. I am following these directions for the same: https://developers.facebook.com/docs/android/login-with-facebook/#step1 Part of the walkthrough lists changing the MainActivity class to extend FragmentActivity. My MainActivity class, however, already extended it because of a content slider I implemented on the main view. The original onCreate code of MainActivity was: @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R

java.lang.IllegalStateException: Orca SharedPreferences used before initialized

强颜欢笑 提交于 2019-12-04 06:09:09
I have integrated the Facebook SDK for android v3.5 in my app and included the install publishing code: com.facebook.AppEventsLogger.activateApp(this); But I am receiving a lot of crashes caused by: Settings.java line 418 com.facebook.Settings.getAttributionId and it's throwing the exception: java.lang.IllegalStateException: Orca SharedPreferences used before initialized I have been trying to reproduce the crash with no success. Has anybody encountered this issue? I just want to know if: /* Only activate FaceBook publish install if the user has the FaceBook app installed */ if (com.facebook

Firebase simple login in iOS

余生颓废 提交于 2019-12-03 21:45:52
I am using FirebaseSimpleLogin for authenticating my app via facebook. I have updated .plist file with facebookapp id and display name. I have also registered bundle id of my app. As suggested in docs, i have also implemented openUrl in AppDelegate and following method in my login with Facebook button. But console is showing third party provider error occurred. Anyone have any clue?? - ( IBAction ) onBtnFacebook : ( id ) sender { [self.authClient loginToFacebookAppWithId:@"767056019984823" permissions:@[@"email"] audience:ACFacebookAudienceOnlyMe withCompletionBlock:^(NSError *error, FAUser