facebook-authentication

Get oAuth 2.0 access token from asp.net webforms iframe canvas application

百般思念 提交于 2019-12-12 05:01:26
问题 The question says it all: How can I get an access token to use on graph api calls from a asp.net webforms 4.0 iframe canvas app. My canvas application has been configured to enable the OAuth 2.0 for Canvas (beta) among other things. This means I am getting the signed_request parameter on my iframe which I am successfully reading. From the oficial documentation on canvas authentication The signed_request parameter is the concatenation of a HMAC SHA-256 signature string, a period (.), and a

Facebook auth dialog doesn't show up in page tab

三世轮回 提交于 2019-12-12 04:47:10
问题 The Facebook Auth Dialog won't show up when viewing the app in a page tab (iframe). It works fine when viewing the app externaly though. My Facebook app settings are: Site URL: http://domain.com/test Canvas URL: http://domain.com/test/ Secure Canvas URL: https://domain.com/test/ Page Tab URL: http://domain.com/test/ Secure Page Tab URL: https://domain.com/test/ I've added the app to the page tab ny using the link: https://www.facebook.com/dialog/pagetab?app_id=[MY_APP_ID]&next=https://domain

Firebase / Facebook - How to Log Off / Sign Off?

别等时光非礼了梦想. 提交于 2019-12-12 04:21:11
问题 I am stuck in a loop here. Users can log in with their FB account. The app creates a Firebase user w/ the same info. With the launcher activity (LoginActivity), if it detects an user is already logged in, it redirects them to their profile fragment. However, on the profile fragment, I click the log off button and redirect them to the Login page. This is where the cycle begins. From code snippets and official Firebase doc, I am using .unauth();. However, my logcat still shows the user is

Facebook auto-login

被刻印的时光 ゝ 提交于 2019-12-12 02:46:51
问题 I have one situation. I create a website. Then I put a tab that will link to Facebook authorization login page. Can I pass login parameter(Email,Password) to the Facebook authorization login page?? So that the user can authorize the application without see the authorization login page. Thanks. 回答1: No. You can't do that. It would require the user to give you their facebook password which obviously would be breaking all kinds of terms and conditions. This is what OAuth is for. Check out the

android error with facebook login on market

霸气de小男生 提交于 2019-12-12 00:24:37
问题 When i test this app on my device with eclipse is all ok;but when i publish this app on google play store the facebook login failed!! why? help me please!! it is a simply app ("coffee break" on market); public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main ); elementoInserito=(EditText)findViewById(R.id.editTextElementoInserito); elementoEstratto=(TextView)findViewById(R.id.textViewElementoEstratto); inserisci=(Button

Authenticate a user from a page tab

血红的双手。 提交于 2019-12-11 18:50:05
问题 I'm trying to make a Facebook page tab where people can vote for their favorite video or music track from a bunch of embedded files. I need to get a unique ID from each user to make sure that they can only vote once. The signed_request only contains the user's id if they have authorized my app. I have tried to have users authorize my app using the FB.login() javascript api, but I get the error: An error occurred with Remix // Rework Vote. Please try later API Error Code: 191 API Error

How to redirect after authorizing to the canvas page

牧云@^-^@ 提交于 2019-12-11 17:59:58
问题 I am using this code from the example on Php-sdk , wondering how do I redirect the user to the canvas page after authorizing, currently it just sends back to the php page. <?php require 'src/facebook.php'; $facebook = new Facebook(array( 'appId' => 'AppId', 'secret' => 'Secret', )); // See if there is a user from a cookie $user = $facebook->getUser(); if ($user) { try { // Proceed knowing you have a logged in user who's authenticated. $user_profile = $facebook->api('/me'); } catch

Facebook Authentication - new member and existing memeber?

跟風遠走 提交于 2019-12-11 13:01:30
问题 I have just implemented Facebook Authentication on my website using Facebook JavaScript. If user logged on facebook from my website for the first time and then it need to insert data into users table (mysql) - maybe a field called fb_userid and email? I have read the Documentation on JavaScript SDK that I can get Facebook User ID but how do I pass that into PHP so I can insert into users table? Facebook Javascript look like this: <script> window.fbAsyncInit = function() { FB.init({ appId :

Firebase/Facebook Authentication - OAuthException - Code 190

别说谁变了你拦得住时间么 提交于 2019-12-11 01:16:57
问题 I've been implementing Firebase authentication in my Android app and have got it working easily & successfully (signed in debug) for different authentication providers such as Google, however Facebook will not play ball. I'm consistently receiving a com.google.firebase.FirebaseException when trying to authenticate with Facebook. I'm using the example from the firebase/quickstart auth app on github. As you can see from the output below, the Facebook authentication is successful and a valid

Multiple cookies issue in OWIN security AuthenticationHandler

老子叫甜甜 提交于 2019-12-10 21:05:28
问题 I am using Facebook Owin Authentication and more or less follow Microsoft sample. I am more or less following the First time user logs in, everything is ok. But if they sign out and try again, it seems like the previous .AspNet.Correlation.Facebook is not removed, but set to empty string. So my next call to api/getexternallogin looks like this in Fiddler: This is when we are generating a correlationId and having multiple cookies at this point is not a show stopper. In the response, I set it