facebook-login

Do I need to create a Facebook app to use Facebook Login?

你说的曾经没有我的故事 提交于 2019-12-13 02:16:14
问题 I've been reading and re-reading lots of information but I'm still a bit unclear what is required for using Facebook Login in my app to access a non-Facebook related web service. Lots of info and unclear what is still valid today and what not. I need some help. I'm building a web service on GAE and I have an app iOS and later an Android app as well. I would like to let users log in with their Facebook account to then use my web service (on GAE) through their phone app. My web service and the

Mobile App GetIdentityAsync no value

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-13 01:42:46
问题 I have this code from Azure Services Mobile App, API custom controller. The result always the same "1:1". I test with all identity providers, google, facebook, twitter, and Microsoft Account, except AD. I think the problem is the call to GetIdentityAsync. Can anyone help me? Thanks [HttpGet] public async Task<string> GetIdentityInfo() { var user = (MobileAppUser)this.User; string str = ""; string Provider = "YES", UserId = "NO"; try { if (user != null) { Provider = "1"; UserId = "1"; var

How to implement Fabcebook Login in iOS with SSO for dialog prompt?

╄→гoц情女王★ 提交于 2019-12-13 00:38:56
问题 I want to implement Facebook login using dialog, not by automatic launching of the Facebook app or Safari. Im using ARC in my project and I've compiled the script file ( build_facebook_ios_sdk_static_lib.sh ), by compiling the script file, I got folders in my facebook-ios-sdk-master containing lib->facebook-ios-sdk and inside facebook-ios-sdk folder, I have some .h files, and couple of files. all that files have been dragged and dropped to the project. Problem is how to implement Login dialog

Facebook API: cannot login on Android

此生再无相见时 提交于 2019-12-12 19:24:02
问题 I'm trying to implement Facebook login on Android, using the Facebook API. I've done everything the way Facebook Login Flow says. The code is below. public class FBSignIn extends Fragment { private UiLifecycleHelper uiHelper; @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { final View v = super.onCreateView(inflater, container, savedInstanceState); setTitle("Sign In"); reloadTemplate(); uiHelper = new UiLifecycleHelper(getActivity()

Facebook SDK 3.0 Logout Not Working in android Application from any other Intent

六月ゝ 毕业季﹏ 提交于 2019-12-12 19:11:59
问题 I am using Facebook login in android app,Its Login Successfully . after Successful login intent goes to next page. from Second page i am trying to logout the Facebook ,its not Working Help me to resolve it. else suggest me Working example for Facebook Login,logout,Getting profile information Latest SDK4.2. Link I have used My Logout method public void logoutFromFacebook() { mAsyncRunner.logout(this, new RequestListener() { @Override public void onComplete(String response, Object state) { Log

Android facebook login get code not access token

大兔子大兔子 提交于 2019-12-12 18:14:22
问题 I'm using facebook sdk on a Android app to login. Everything works ok with the login but instead of the access token on successful login I would like the get a code like when building a manually login flow (https://developers.facebook.com/docs/facebook-login/manually-build-a-login-flow#confirm). Here you have the possibility to set the response_type to token or code. https://www.facebook.com/dialog/oauth? client_id={app-id} & redirect_uri={redirect-uri} & reponse_type=code Is there a

How to handle Facebook Android SDK v4.1 Access Token between Activities

别说谁变了你拦得住时间么 提交于 2019-12-12 15:14:35
问题 When i go to another activity after successfully logged a user in i can't access to the Facebook Access token AccessToken.getCurrentAccessToken() I got this in the LogCat: {AccessToken token:ACCESS_TOKEN_REMOVED permissions:[]} 回答1: My solution if you are using the android login button is: To use a fragment and call it inside every activity, you can choose to display it or not depending on what the current activity will be doing, all the fragment's methods will work just fine. Here is some

How to go through facebook review process on existing site with high traffic?

杀马特。学长 韩版系。学妹 提交于 2019-12-12 14:07:30
问题 I have already implemented facebook login/signup on a site, using a combination of the Javascript and PHP SDKs. I remember that the review process took about a day or two. That was for a brand new site. Now I need to add the same functionality to another site that exists and currently has hundreds of visitors per day. I have already implemented the changes and it works fine in sandbox mode but here's my question: When I upload the new code, and until the facebook app is reviewed and accepted,

Facebook SDK FBSession infinite loop and crash

ⅰ亾dé卋堺 提交于 2019-12-12 12:26:30
问题 I originally used FBLoginView to start the login process in the latest Facebook SDK (3.5). However, that would crash the app because of a loop of some sort. I then read that I should try logging in using the code below as a test: [FBSession openActiveSessionWithReadPermissions:[NSArray arrayWithObjects:@"read_stream", nil] allowLoginUI:YES completionHandler:^(FBSession *session, FBSessionState status, NSError *error) { // session might now be open. NSLog(@"Error - %@", error); }]; I got

Use facebook login in localhost

本小妞迷上赌 提交于 2019-12-12 11:20:02
问题 I am doing a project and need to use the facebook API as user login. The document are clear the usage of the login button of login with facebook. However, when I test the button on localhost, it gives nothing to me, no error page, no popup windows. I am using xampp for my local development and the site url that I fill in app setting is http://localhost:8880/atrain/ can someone help? I have searched the internet and change the hosts file but still unsuccessful. 回答1: Set up your local server to