Operations without OAuth token - is it possible?

8 views
Skip to first unread message

Stefan

unread,
Jun 2, 2010, 8:10:13 PM6/2/10
to RestFB
In examples: you pass token to constructor:
FacebookClient facebookClient = new
DefaultFacebookClient(MY_ACCESS_TOKEN);

Is there any method to perform search without such token? Example:
https://graph.facebook.com/search?q=graph - there is no token
specified and it works - you receive search results... I would like to
perform a few searches but I don't want to waste my time on parsing
responses (that's why libraries are written).

++ is there any clever way to obtain OAuth token in desktop
application without breach in user experience? (like redirecting user
to browser etc...)

Thanks in advance

Scott Hernandez

unread,
Jun 2, 2010, 8:21:13 PM6/2/10
to res...@googlegroups.com
On Wed, Jun 2, 2010 at 5:10 PM, Stefan <mste...@gmail.com> wrote:
> In examples: you pass token to constructor:
> FacebookClient facebookClient = new
> DefaultFacebookClient(MY_ACCESS_TOKEN);
>
> Is there any method to perform search without such token? Example:
> https://graph.facebook.com/search?q=graph - there is no token
> specified and it works - you receive search results... I would like to
> perform a few searches but I don't want to waste my time on parsing
> responses (that's why libraries are written).

That seems like a good feature request.


> ++ is there any clever way to obtain OAuth token in desktop
> application without breach in user experience? (like redirecting user
> to browser etc...)

Not really, they suggest an embedded browser:
http://developers.facebook.com/docs/authentication/desktop

> Thanks in advance

revetkn

unread,
Jun 2, 2010, 8:51:15 PM6/2/10
to RestFB
Yeah, it's my fault for not including this - see
http://groups.google.com/group/restfb/browse_thread/thread/50bcd87b73ce3cde
and http://code.google.com/p/restfb/issues/detail?id=39. It'll be
fixed in 1.6.

Thanks
Mark

On Jun 2, 8:10 pm, Stefan <mstefa...@gmail.com> wrote:
> In examples: you pass token to constructor:
> FacebookClient facebookClient = new
> DefaultFacebookClient(MY_ACCESS_TOKEN);
>
> Is there any method to perform search without such token? Example:https://graph.facebook.com/search?q=graph- there is no token
Reply all
Reply to author
Forward
0 new messages