Question:
I am trying to upload a photo to Facebook from a VB6 app on Windows PCs. I have followed the example from the Chilkat web site and finally got things fitted together ok... almost. The app runs without errors, the user interacts with Facebook to allow my app access, but there is no upload. The bottom of my code (from the example) does --
responseJson = resp.BodyStr
Debug.Print responseJson
That produces the message --
{"error":{"message":"Unsupported post request. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api","type":"GraphMethodException","code":100,"fbtrace_id":"AT5cI+3F8gr"}} ","type":"GraphMethodException","code":100,"fbtrace_id":"A0TdWorUNQN"}}
It seems to me that I still have something screwed up (probably) or the Chilkat ActiveX stuff isn't upgraded to the ltest graph api???
Can someone help me where to look for the error? I've been digging on my example for quite awhile and need to get this working before I buy.
Thanks!! - John
First, I haven't used the Facebook Graph API myself, so this is just a shot in the dark. I did a quick search for graphmethodexception 100 (as appeared in your error), and found this on StackOverflow:
http://stackoverflow.com/questions/17209975/facebook-open-graph-graphmethodexception-error-code-100
To quote:
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 exact endpoint used when publishing actions, which by default for custom action types is /me/{app-namespace}:{action-type-name}.