facebook-oauth

(OAuthException) (#200) User must have accepted TOS on C# - Facebook

試著忘記壹切 提交于 2019-12-20 03:19:08
问题 Well, I am trying make a app to write comments to facebook in C#. Searching in google I know that I need an Application (I did it) and I need select the permissions. I did it.. Now I wrote my code in C#: private string MyAppId = "XXX"; private string MyAppSecret = "XXX"; private void button1_Click(object sender, EventArgs e) { FacebookClient FB = new FacebookClient(MyAppId, MyAppSecret); Dictionary<string,string> data = new Dictionary<string,string>(); data.Add("message","test"); FB.Post(

How can I remove all potentially cached tokens or session IDs on Android?

℡╲_俬逩灬. 提交于 2019-12-20 03:15:16
问题 An odd question, but hopefully someone has an answer. I am developing a mobile app that will connect with Facebook. Everything was working fine and had been for about a week. I could authorize and remove authorization and post to a user's feed. On Saturday or Sunday I modified my request to add offline_access. Around that time (unfortunately I cannot be sure exactly when) I started receiving failures coming back saying the access token was invalid ("Error validating access token: The session

How can I get the credential secret in Meteor, when I do Facebook.requestCredential on the client?

时光怂恿深爱的人放手 提交于 2019-12-20 02:12:44
问题 I'm trying to implement a login/link account system like the one in this question. (scroll down to where it says "Methods for explicit associations") You used to be able to get the user's login data with something like this: data = Package.facebook.Facebook.retrieveCredential(token).serviceData Now it looks like this retrieveCredential(token, secret) . Here's the commit where that happened. I for the life of me can't figure out how to get the credential secret on the server after I call:

OAuthException : An active access token must be used to query information about the current user

半城伤御伤魂 提交于 2019-12-19 17:48:40
问题 I'm trying to run the sample code for Facebook connect that I downloaded from http://thinkdiff.net/facebook/php-sdk-3-0-graph-api-base-facebook-connect-tutorial/ I get this error message : [error] => Array ( [message] => An active access token must be used to query information about the current user. [type] => OAuthException [code] => 2500 ) You can try on my website : http://facebook.oliverjordan.net/thinkdiff Here is the fbmain.php code : <?php //facebook application $fbconfig['appid' ] =

Access token immediately invalidated

泪湿孤枕 提交于 2019-12-19 09:13:12
问题 for a few users (maybe not that few, considering the number of related mails I'm receiving) the access token associated with an OAUTH authorization seems to be immediately invalidated. The user is guided through the usual authorization process, he accepts the permissions, he is redirected to the right page which includes the access token, but as soon as my application tries to use the access token to get the user ID, an error is received instead: {"error":{"message":"Error validating access

Access token immediately invalidated

有些话、适合烂在心里 提交于 2019-12-19 09:12:03
问题 for a few users (maybe not that few, considering the number of related mails I'm receiving) the access token associated with an OAUTH authorization seems to be immediately invalidated. The user is guided through the usual authorization process, he accepts the permissions, he is redirected to the right page which includes the access token, but as soon as my application tries to use the access token to get the user ID, an error is received instead: {"error":{"message":"Error validating access

Facebook Authentication - Unsafe JavaScript attempt to access frame with URL

╄→гoц情女王★ 提交于 2019-12-19 05:36:25
问题 I am trying to implement Facebook Login System into my website. While it try to connect to facebook, I get an error from console log: Unsafe JavaScript attempt to access frame with URL https://s-static.ak.fbcdn.net/connect/xd_proxy.php?xxxxxxxxxxxxxxxx I am using JavaScript SDK I added this in the body tag: <div id="fb-root"></div> <script> window.fbAsyncInit = function() { FB.init({ appId : 'xxxxxxxxxxxxxx', status : true, cookie : true, xfbml : true }); }; (function(d){ var js, id =

OAuth Error: This IP can't make requests for that application

試著忘記壹切 提交于 2019-12-17 10:58:54
问题 I just started to get random This IP can't make requests for that application. errors with my app. My server's IP address is on my whitelist from my app's settings, and it was working perfectly, but I randomly started to get this error. I've checked my server's IP (even though I already know it's static), I've removed all the entries in the whitelist, but none seem to work. Weird enough, I can test the exact same code from my home and it works! What could be the cause of the problem? This

Get application id from user access token (or verify the source application for a token)

Deadly 提交于 2019-12-17 10:14:32
问题 I found this question, which has an answer, but facebook changed the token format since then, now it is something like: AAACEdEose0cBACgUMGMCRi9qVbqO3u7mdATQzg[more funny letters]ig8b3uss9WrhGZBYjr20rnJu263BAZDZD In short, you cannot infer anything from it. I also found the access token debugger, which shows the information I am looking for if you paste a token in, which is nice, but does not help me do it programmatically. Point is, if someone gets a token for a user, he can use it to access

Facebook OAuth Dialog not redirecting to login

眉间皱痕 提交于 2019-12-13 05:15:23
问题 I'm using the Facebook OAuth Dialog (reference here) to initiate a login to Facebook for my app when they click on a button. Normally, this works. However, just a few hours ago, I realised that instead of sending me to a popup to login, the URL sends me to this page: Any clues as to whether my code is doing something wrong? Or could there be something wrong with Facebook's redirect? 回答1: It has started working now. I am surprised to see how facebook took a such a long time to fix this.