Access token that doesn't expire

315 views
Skip to first unread message

Eyal

unread,
Feb 15, 2011, 3:31:43 AM2/15/11
to RestFB
Hi all,

How do I get an access token that doesn't expire after a few hours?

I'm using the method adviced on the RestFB.com page, through going
here, http://developers.facebook.com/docs/reference/api/user/ but the
token is only good for a short period of time and than I need to redo
the process.

Thanks!

Marcel Stör

unread,
Feb 15, 2011, 4:07:21 AM2/15/11
to res...@googlegroups.com

Read here http://developers.facebook.com/docs/authentication about the
offline_access permission.

Cheers,

--
Marcel St�r, http://www.frightanic.com
Couchsurfing: http://www.couchsurfing.com/people/marcelstoer
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

Eyal

unread,
Feb 15, 2011, 5:31:44 AM2/15/11
to RestFB
Thank you, Marcel. But from what I can see the offline_access is for
an app. How do I get it for a user?

On Feb 15, 11:07 am, Marcel Stör <mar...@frightanic.com> wrote:
> On 15.02.11 09:31, Eyal wrote:
>
> > Hi all,
>
> > How do I get an access token that doesn't expire after a few hours?
>
> > I'm using the method adviced on the RestFB.com page, through going
> > here,http://developers.facebook.com/docs/reference/api/user/but the
> > token is only good for a short period of time and than I need to redo
> > the process.
>
> Read herehttp://developers.facebook.com/docs/authenticationabout the
> offline_access permission.
>
> Cheers,
>
> --
> Marcel St r,http://www.frightanic.com

revetkn

unread,
Feb 15, 2011, 10:37:32 AM2/15/11
to RestFB
Hi Eyal -

An app is required to get an offline_access token for a user.

Thanks
Mark
Reply all
Reply to author
Forward
0 new messages