Error Message Unsupported Operation Type Facebookapiexception Code 100
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the graphmethodexception code 100 workings and policies of this site About Us Learn more about Stack
Graphmethodexception Unsupported Get Request
Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs facebook graph api unsupported get request code 100 Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join graphmethodexception unsupported get request 100 them; it only takes a minute: Sign up Access User's Friends with only App Access_token in facebook up vote 1 down vote favorite As mentioned in Link an app can access user's friend's id with an app access_token. But when I try to access friends of a user by www.graph.facebook.com/USER_ID?fields=friendlists&access_token=ACCESS_TOKEN I get an error: { "error": { "message": "An access
Unsupported Post Request Facebook Graph Api
token is required to request this resource.", "type": "OAuthException", "code": 104 } } How can I access a user's friendlist with only app access token? facebook facebook-graph-api share|improve this question edited Sep 30 '13 at 14:23 Sahil Mittal 17.2k103667 asked Sep 30 '13 at 13:57 rohangulati 86111 so, where is the access token? i can't see it anywhere –Can Poyrazoğlu Sep 30 '13 at 13:59 Sorry, I have edited the question. –rohangulati Sep 30 '13 at 14:08 have you tried removing the "www" from the URL and using just graph.facebook.com... –Can Poyrazoğlu Sep 30 '13 at 14:12 Yes I have tried with https:// and used the graph explorer. I get the same result –rohangulati Sep 30 '13 at 14:32 try debugging your access token with the access token debugger tool. also get a new access token from the graph api explorer –Can Poyrazoğlu Sep 30 '13 at 14:45 | show 4 more comments 1 Answer 1 active oldest votes up vote 1 down vote Did
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site facebook graph api error 100 About Us Learn more about Stack Overflow the company Business Learn more facebook graph api error codes about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss
Facebook Api Error Code 100
Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Facebook open graph http://stackoverflow.com/questions/19096129/access-users-friends-with-only-app-access-token-in-facebook GraphMethodException error code 100 up vote 8 down vote favorite 1 I'm trying to work my way through the Facebook tutorial publish and open graph story for iOS, https://developers.facebook.com/docs/tutorials/ios-sdk-tutorial/publish-open-graph-story/ Step 3 is failing for me. When I use the graph API explorer I get the error { "error": { "message": "Unsupported post request.", "type": "GraphMethodException", "code": 100 } } I've looked through a bunch of http://stackoverflow.com/questions/17209975/facebook-open-graph-graphmethodexception-error-code-100 answers on stack overflow relating to this error but none seem to be my problem. I have selected get access token and have publish permissions. The page is not alcohol related and the user page I'm using is not age restricted. I have selected my application from the top of the page. I have selected post and then entered my story object in the space provided me/gopiratestd:boss then I add a new field and use the key beat on the left and then the following url on the right. https://hidden-castle-7245.herokuapp.com/opengraphobject.php?fb:app_id=554329451276476&og:type=gopiratestd:boss&og:title= beataboss&og:description=%22Beat%22&og:image=http://images.all-free-download.com/images/graphicmedium/beautiful_cat_picture_6_168770.jpg&body=Beat Then when I hit submit it returns that error. Is there anything obvious I'm doing wrong here? When I use that link in the object debugger it doesn't return any errors. facebook facebook-graph-api share|improve this question asked Jun 20 '13 at 9:22 Tiddly 98911434 add a comment| 4 Answers 4 active oldest votes up vote 4 down vote accepted Error 100 means that there is a plain syntax error in the URL you are posting to. I suspect you have a custom graph url set which doesn't match your action - see http://developers.facebook.com/docs/opengraph/creating-action-types : Graph API URL This customizes the exac
Sign in Pricing Blog Support Search GitHub This repository Watch 183 Star 1,779 Fork 674 mobolic/facebook-sdk Code Issues 13 Pull requests 11 Projects 0 Pulse Graphs New issue get_connections fails https://github.com/mobolic/facebook-sdk/issues/49 to get friends #49 Closed kaarthikeyapreyan opened this Issue Sep 21, 2012 · 7 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 3 participants http://queryd.com/questions/facebookapiexception.html kaarthikeyapreyan commented Sep 21, 2012 Python 2.7.3 facebook_sdk-0.3.2-py2.7.egg graph.get_connections(profile["id"], "friends") Traceback (most recent call last): File "sdkref.py", line 31, in friends = graph.get_connections(profile["id"], "friends") File "C:\Program Files (x86)\Python27\lib\site-packages\facebook.py", line 111, in get_connections return code 100 self.request(id + "/" + connection_name, args) File "C:\Program Files (x86)\Python27\lib\site-packages\facebook.py", line 275, in request raise GraphAPIError(response) facebook.GraphAPIError: Unsupported operation martey commented Sep 21, 2012 I can not replicate this issue. Does this consistently occur for you? Are you able to replicate it (using the same access token and application) on the Graph API Explorer? kaarthikeyapreyan commented Sep 22, 2012 I used the same access token used in facebook graph api the application and the get query /?fields=friends I get this error on the Graph API Explorer { "error": { "message": "Unsupported operation", "type": "FacebookApiException", "code": 100 } } This is happening only for friends am able to view few of the other data like posts, feeds without any error. martey commented Sep 22, 2012 the get query /?fields=friends As you can see on line 111, get_connections uses the query id/friends. You could also use /id?fields=friends, but you need to have the Facebook user ID as part of the URL. kaarthikeyapreyan commented Sep 22, 2012 sorry about that martey, /userid?fields=friends was my input i also tries by selecting from the node on the left pane from the connections section it also returned me the same Graph API Explorer error. martey commented Sep 22, 2012 Since the error is occurring with the Graph API Explorer as well, this is extremely unlikely to be an error with the library, so I am closing this issue. You might want to try to create a test user (to see if there is something wrong with the user you are using) or creating a new application. Let me know if you need
the Facebook SDK for some users when getting their feed (using me/home?limit=1000&fields=from.fields(id,name),likes.fields(id),comments.fields(from.fields(id))). The error is: Facebook.FacebookApiException: (Exception - #0) Unknown identifier, 0_xxxxxxx at Facebook.FacebookClient.ProcessResponse(HttpHelper httpHelper, String responseString, Type resultType, Boolean containsEtag, IList`1 batchEtags) at Facebook.FacebookClient.Api(HttpMethod httpMethod, String path, Object parameters, Type resultType) at Facebook.FacebookClient.Get(String path, Object parameters, Type resultType) (Where 0_xxxxxxx is different for each user) I've had a look through the SDK source code and can't see what would be generating this error. Any thoughts about what might be causing this? http://www.stackoverflow.com/questions/14095182/facebookapiexception-unknown-identifier-when-getting-user-s-feed-me-home Facebook publish_stream code ends up in a loop I have the following code which works fine as long as in a previous part of the application, the user accepts the applications request to publish_stream. # The facebook library require_once("/var/www/facebook-php-sdk-master/src/facebook.php"); # Create facebook object $config = array(); $config['appId'] = 'appId_here'; $config['secret'] = 'secret_here'; $config['fileUpload'] = false; // optional $facebook = new Facebook($config); $user_id = $facebook->getUser(); if ($user_id) { try { $user_profile = $facebook->api('/me','GET'); #check permissions $api_call = array( 'method' => 'users.hasAppPermission', 'uid' => $user_id, 'ext_perm' => 'publish_stream' ); #set to true if true... $can_offline = $facebook -> api( $api_call ); #is it true? if( $can_offline ) { $post = array( 'message' =& http://www.stackoverflow.com/questions/14872706/facebook-publish-stream-code-ends-up-in-a-loop