facebook-login

Facebook login is working with release APK before publishing App, but not after publishing same APK

匆匆过客 提交于 2019-12-03 21:14:04
Facebook login is working with release APK before publishing App, but not after publishing same APK in Play Store. I am trying to implement Facebook Login into my app from past 2 days. I have followed all the steps and added both key-hash (for debug and release ) into my app at facebook developer account. Its working fine with both type of build variant before publishing app in Play Store, but after downloading same release variant (which I am testing before publishing app) from Play Store, Facbook Login is not working. One more thing is that Facebook Login is not working only if Facebook app

Android Facebook SDK 3.0 Simple Status Update Without Explicit Login?

我的未来我决定 提交于 2019-12-03 20:41:50
I'd like to know the simplest way to update a user's facebook status. I'd like to simply display a 'Share' button. When the user touches 'Share': If they are already logged in to Facebook, a dialog will appear giving them the option to edit their posting before submitting to Facebook. If they aren't already logged in to Facebook, the will be prompted to login and then automatically shown the sharing dialog upon successful login. Is there a simple way to do this, or do I need to implement a separate facebook login flow? So I think I've got a pretty clean way to do it. I welcome any comments. I

SessionState is CLOSED_LOGIN_FAILED in FB native login

点点圈 提交于 2019-12-03 20:16:18
问题 i want to use Facebook Native login i am following http://developers.facebook.com/docs/tutorials/androidsdk/3.0/scrumptious/authenticate/ . i get the permissions alert box but when i select ok i get the SessionState as CLOSED_LOGIN_FAILED . i rechecked the App keyHash also . Is there any method to get the KeyHash from the code itself , i mean to print the keyhash with which it checks while comparing . i went through many other threads too but was not successful , i dont know where i am going

Logging out from facebook when using MVC 5 OWIN

醉酒当歌 提交于 2019-12-03 17:34:16
I have an MVC 5 web app that has facebook authentication set up and working nicely. User clicks "Facebook" on the login page, signs in to Facebook and that authenticates with our web site. If the user logs out, the call to AuthenticationManager.SignOut() logs out of the web site correctly, but if the user then goes back to the login page and clicks "Facebook" again they are immediately signed in without having to sign in to facebook. So my question is, how do I configure MVC 5 OWIN facebook login so that the user is signed out of facebook when they sign out of the web site, or to put it

Symfony3 Facebook Login - redirect_uri URL gets converted to relative

青春壹個敷衍的年華 提交于 2019-12-03 16:25:31
I am trying to implement facebook login for a web-app. Here is the FacebookConnect.php <?php namespace Vendor\GiftBundle\Controller; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Generator\UrlGeneratorInterface; use Symfony\Component\Routing\Generator\UrlGenerator; class FacebookConnectController extends Controller { /** * @Route("/connect/facebook", name="connect_facebook") */ public function

Cannot change the height of Login Button in FBSDKLoginKit?

偶尔善良 提交于 2019-12-03 15:44:16
问题 I am using FBSDKLoginKit in iOS with Swift. Up until recently it has been working perfectly, however I now cannot override the height of my button in the Storyboard? The height of the button is now much smaller for some reason. I have tried setting height constraints for the button, putting the button in a stack view and set to fill proportionally and even override the button height in the SDK with no luck. If I change the button to a normal UIButton the layout constraints work perfectly.

Firebase: Link facebook account with existing user

喜你入骨 提交于 2019-12-03 15:30:53
I have a current database with active users in Firebase that can login with user/pwd but now I'm implementing the facebook login and I realised the only way to link a facebook account with an existing user is only when the user is already logged with the user/pwd but not before the login. I have two buttons in my app (login with fb and with email) but if I try to login with fb using the same email of an existing user, I will receive the following error auth/account-exists-with-different-credential and the documentation says that in order to fix this the user needs to login first then link. Do

Logic Behind Social Login

和自甴很熟 提交于 2019-12-03 14:37:45
问题 I have created a nice little login script for my website that lets users login with Facebook or Google at the moment. What I am trying to do is set some checks to make sure that duplicates do not appear in the database. Here are some scenarios I have covered : Login with Google/Facebook account and I have already registered this account, This will log the user straight in as they have already linked this account. User has already registered with Google account, yet clicks Facebook because

Can not authorise user in Facebook JS SDK : “This authorization code has been used.” or how to get new authorisation token?

元气小坏坏 提交于 2019-12-03 14:04:32
I am trying to use Facebook to authenticate users. It works ok except for Ajax calls. Most of the times it just send old token and I get : {"error":{"message":"This authorization code has been used.","type":"OAuthException","code":100}} So what I tried doing is wrapping every ajax call with FB.getLoginStatus(function(response) { if (response.status === 'connected') { return fn(); ... this did not worked so I've added : true as parameter to getLoginStatus to prevent caching : FB.getLoginStatus(function(response) { if (response.status === 'connected') { console.log('connected'); fn(); } else if

iOS 9 Facebook Access Token is nil on future app launches

扶醉桌前 提交于 2019-12-03 12:03:20
问题 After the recent iOS 9 update, along with updates to the Facebook SDK (4.6.0), I'm finding that my login session is no longer persisting between app launches. My flow so far has been pretty simple. Login to Facebook using the FBSDKLoginButton . On future View's and Launches check the FBSDKAccessToken.currentAccessToken() to be able to then use Facebook in the app. What I'm finding is after the recent updates my AccessToken is now showing up as nil if I close and start the app again. This is a