facebook-authentication

Insecure Login Blocked: You can't get an access token or log in to this app from an insecure page. Try re-loading the page as https://

时光怂恿深爱的人放手 提交于 2019-11-26 20:55:14
问题 I am implementing Passport Facebook Authentication by linking the Facebook Authentication API route to a button using href like: <a href="auth/facebook">Facebook Login</a> When I click on the button, it redirects to the Facebook Authentication page. But on the page, an error message is displayed saying something like "Insecure Login Blocked: You can't get an access token or log in to this app from an insecure page. Try re-loading the page as https://" How can I fix this issue? 回答1: Amazingly

REST API for website which uses Facebook for authentication

≡放荡痞女 提交于 2019-11-26 12:34:25
问题 We have a website where the only way to login and authenticate yourself with the site is with Facebook (this was not my choice). The first time you login with Facebook, an account gets automatically created for you. We now want to create an iPhone application for our site and also a public API for others to use our service. This question is about how to authenticate with our website from the app/API and is broken into 2 parts: What is the correct way to handle REST authentication from an API

When to request permissions with Facebook&#39;s new Android SDK 3.0?

 ̄綄美尐妖づ 提交于 2019-11-26 12:18:29
问题 With Facebook\'s new Android SDK 3.0 (that was released a few days ago), the process of authentication has changed. So how do you request a read permission such as \"friends_hometown\"? The following code is how I am trying to do it - but I\'m quite sure it\'s not the way you should do this: Version 1: protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Session.openActiveSession(this, true, new Session.StatusCallback() { // start Facebook login @Override

How can I login with multiple social services with Firebase?

江枫思渺然 提交于 2019-11-26 11:48:32
问题 I want users to be able to authenticate to my Firebase application using multiple different auth providers, such as Facebook, Twitter, or Github. Once authenticated, I want users to have access to the same account no matter which auth method they used. In other words, I want to merge multiple auth methods into a single account within my app. How can I do this in a Firebase app? 回答1: Update (20160521): Firebase just released a major update to its Firebase Authentication product, which now

Facebook iframe tab signed request always empty

这一生的挚爱 提交于 2019-11-26 11:26:31
问题 I\'m working on a Facebook app tab and would like to use the signed request bundle as documented here: http://developers.facebook.com/blog/post/462/ I\'m trying to use their example code to unpackage the signed request which is supposedly passed to the tab, however, $_POST , $_GET , and $_REQUEST are always all empty. The exact code works on the canvas page and I am able to parse the signed request. Is there something that I\'m missing in their recent announcement? By the way, the app is not

facebook connect- $user_id = $facebook->getUser(); always returning 0 [duplicate]

喜你入骨 提交于 2019-11-26 08:36:38
问题 This question already has an answer here: Why is Facebook PHP SDK getUser always returning 0? 26 answers Before i say something i want to say that i GOOGLEd a lot and there were lots of pages found(including many of so\'s question) with varieties of solutions ... but i have tried each of them one by one but unfortunately none of them worked for me with facebook-php-sdk i am trying to login a user. on first few occasions it was working perfectly fine (2 to 3 days ago.) . Today when i started