Bad Request when using access_token #6

Open
levince opened this Issue Aug 7, 2010 · 0 comments

Comments

Projects
None yet
1 participant
@levince

levince commented Aug 7, 2010

I got a bad request error when using the following query:

SELECT * FROM facebook.graph WHERE id='myeventid' and access_token='12xxxxxx74|a8a9d7ecxxxxxxx9464086|gN_mxxxxxxxxKXc81g.&offset=0&limit=10'

it looks like the problem is that pipe chars '|' in the access_token sent to facebook has been replaced by '%7c'.

cbfunc({
"query": {
"count": "0",
"created": "2010-08-07T10:18:02Z",
"lang": "en-US",
"diagnostics": {
"publiclyCallable": "true",
"url": [
{
"execution-time": "3",
"proxy": "DEFAULT",
"content": "http://www.datatables.org/facebook/facebook.graph.xml"
},
{
"execution-time": "389",
"http-status-code": "400",
"http-status-message": "Bad Request",
"proxy": "DEFAULT",
"content": "http://graph.facebook.com/myeventid?access_token=12xxxxxx74%7ca8a9d7ecxxxxxxx9464086%7cgN_mxxxxxxxxKXc81g.&offset=0&limit=10"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment