关于facebook oauth 接口升级到2.4的请求方式的改变

var identity = AuthenticationManager.GetExternalIdentity(DefaultAuthenticationTypes.ExternalCookie);
var facebookAccessToken = identity.FindFirstValue("FacebookAccessToken");
var fb = new FacebookClient(facebookAccessToken);

dynamic facebookInfo = fb.Get("/me?fields=email,birthday,gender");
signInInfo.Email = facebookInfo.email;

官方接口迁移文档

https://developers.facebook.com/docs/apps/changelog#v2_4_changes

phpsdk

https://developers.facebook.com/docs/php/gettingstarted/5.0.0

google问题解决

http://stackoverflow.com/questions/31909920/facebook-v2-4-with-oauth2-stopped-working-and-only-getting-name-and-id


http://stackoverflow.com/questions/31932675/how-to-send-appsecret-proof-using-facebook-c-sharp-sdk/31933544#31933544


 '879689995418949'; 
 'dbef46bee3456033e3102e6765b359aa';



你可能感兴趣的:(关于facebook oauth 接口升级到2.4的请求方式的改变)