quick question about the "handleCallbackApiResponse" method

20 views
Skip to first unread message

Dimitar Roustchev

unread,
Jul 18, 2011, 3:44:18 AM7/18/11
to foursquare-api-java-discuss
Hi,

I figured it is better to post question here and not below the
exampels on the project page.

As the title suggests, I have a question about the
"handleCallbackApiResponse" method. I know it is only called when the
boolean "useCallback" is set, but I can't seem to find where an
request is made with the callback parameter included. And the
"handleCallbackApiResponse" method strips away a fixed callbackPrefix
"c(". I'm probably just missing something, but I would appreciate a
hint.

Thanks in advance,

Dimi

Antti Leppä

unread,
Jul 19, 2011, 10:59:26 AM7/19/11
to foursquare-api-java-discuss
Hi,

Yep, much better place :)

getApiRequestUrl method appends callback=c parameter in rows 1530 -
1532:
if (useCallback) {
urlBuilder.append("&callback=c");
}


- Leppä

On 18 heinä, 10:44, Dimitar Roustchev <d.roustc...@googlemail.com>
wrote:
Message has been deleted

Dimi

unread,
Jul 20, 2011, 7:57:20 AM7/20/11
to foursquare-ap...@googlegroups.com
Thank you once again for the quick response.


Reply all
Reply to author
Forward
0 new messages