Closed raffael closed 12 years ago
Say, I want to access the user's mailbox:
[fb sendRequest: @"me/inbox"];
This works fine. But as soon as I want to pass the optional GET parameter 'since' to the Graph call, I get an error that no Access token has been passed:
[fb sendRequest: [NSString stringWithFormat:@"me/inbox?since=%d",unixTime]];
I assume that PhFacebook appends ?access_token=… to every API call, which results in two question marks in the API URI.
Good catch, I did not know that was possible.
Fixed in the latest commit. Thanks!
Say, I want to access the user's mailbox:
[fb sendRequest: @"me/inbox"];
This works fine. But as soon as I want to pass the optional GET parameter 'since' to the Graph call, I get an error that no Access token has been passed:
[fb sendRequest: [NSString stringWithFormat:@"me/inbox?since=%d",unixTime]];
I assume that PhFacebook appends ?access_token=… to every API call, which results in two question marks in the API URI.