facebook-login

What OAuth redirect uri should I use in facebook app settings for my phonegap app?

点点圈 提交于 2020-01-07 05:12:14
问题 I have facebook login functionality almost fully working within my app, except I am now stuck on what redirect uri to enter in the facebook app settings. Information on my facebook app settings: I have added a platform for Android and filled in the Package name, class name and added a debug key hash as we can see. I also have added website URL and App domain, however I'm not sure these are necessary as it is not a website as such (rather a phonegap app) In the side menu under Products I have

Login to my app using facebook : error when using Facebook App

馋奶兔 提交于 2020-01-07 02:18:12
问题 Here is the Screenshot Logging into my App using Facebook credentials is not working correctly through browsers. But it gives an error when logging in through the Facebook App. It is not automatically redirecting to my App and remains in Facebook by showing "The page you requested cannot be displayed right now. It may be temporarily unavailable.....".like that. Thanks in Advance. Here is my LoginActivity: @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate

FB.getLoginStatus() needs page refreshed

大城市里の小女人 提交于 2020-01-07 02:17:19
问题 I am using FB.getLoginStatus() and FB.Login() to log the user into my website using facebook. I first check for the status on page load using FB.getLoginStatus() and save the state in a hidden variable. When the user clicks on my facebook login button, I first check the value in the hidden variable and call FB.Login() only if FB.getLoginStatus() is not connected. If FB.getLoginStatus() returns 'Connected', then I just log the user into my website without FB.Login(). My scenario with issue

Android: Facebook PublishPermissions without retyping password (when using SUPPRESS_SSO)?

隐身守侯 提交于 2020-01-06 22:54:44
问题 The flow of action on this android app is - UserX registers on facebook UserX grants read_permissions UserX grants publish_permissions His access_token is stored in our database. UserX logs out UserY registers ... [follows same steps] Since it requires login of multiple users I need to SUPPRESS_SSO (thanks to How to disable Single SIgn On for facebook android app?). Now in facebook API 3.0, Facebook has made ReadPermissions and PublishPermissions different. I am succesfully asking for both

Android: Facebook PublishPermissions without retyping password (when using SUPPRESS_SSO)?

孤街浪徒 提交于 2020-01-06 22:53:32
问题 The flow of action on this android app is - UserX registers on facebook UserX grants read_permissions UserX grants publish_permissions His access_token is stored in our database. UserX logs out UserY registers ... [follows same steps] Since it requires login of multiple users I need to SUPPRESS_SSO (thanks to How to disable Single SIgn On for facebook android app?). Now in facebook API 3.0, Facebook has made ReadPermissions and PublishPermissions different. I am succesfully asking for both

empty friends array in facebook open graph api v2

不羁的心 提交于 2020-01-06 20:35:40
问题 I'm trying to pull a list of my friends in Facebook's OG api v2. If I use the explorer here: https://developers.facebook.com/tools/explorer?method=GET&path=me%2Ffriends&version=v2.0 I can get my friends, but if I program the app and make a json call: function getUserFriends(){ FB.api('/me/friends', function(response) { console.log(response); }); } The friends array response is an empty object. I'm using the facebook login button: <fb:login-button scope="public_profile,email,user_about_me,user

Facebook php sdk: How to delete a user after registration to my app

给你一囗甜甜゛ 提交于 2020-01-06 19:42:18
问题 I'm using the facebook php sdk to enable users signing into my web app using their facebook account. After a user tries to register using their facebook account, I'm retrieving their details using Facebook.getSignedRequest(); and adding them to my DB. My problem is in case an error is found during adding the new user to my DB, in which case I'm interested to roll back and delete them from my app on facebook . How can I achieve that? 回答1: Only the user can remove your App. Just check if he is

How to get Facebook user Profile (id,name,email and picture) and use in other activity by sharedpreferences [closed]

扶醉桌前 提交于 2020-01-06 06:28:29
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I have an app that uses Facebook for login and then, go to another activity. First of all, I check the correct login and works fine. Then, I saved the dates of my profile on a Arraylist of string and then, save on sharedpreferences. This is the code of my First Activity (login activity) import android.content

Passport facebook authentication not working

狂风中的少年 提交于 2020-01-05 09:35:24
问题 I have a nodeJS application (express), which has a facebook login. I'm using the passport-facebook authentication, described in here passport-facebook. My login was still working couple weeks ago ok, but now something has changed. I'm not sure if Facebook has changed something, or if I have. I haven't touched to any of the login code, so I suspect it is something in the facebook's end. Here is my authentication code: router.get('/', passport.authenticate('facebook'), function(req, res){ });

Parse login with Facebook does not work

依然范特西╮ 提交于 2020-01-04 09:37:23
问题 I recently implemented Parse login with facebook. I basically followed all the instructions to set up Facebook SDK and Parse SDK. So here is the part where the App throws out an exception: NSArray *permissionArray=@[@"public_profile", @"email"]; [PFFacebookUtils logInWithPermissions:permissionArray block:^(PFUser *user, NSError *error) { if (!user) { NSLog(@"Uh oh. The user cancelled the Facebook login."); } else if (user.isNew) { NSLog(@"User signed up and logged in through Facebook!"); }