[R] Using R to get updated access token on FB Graph API?

Chichi Shu chichi.shu at hotmail.com
Tue Sep 16 17:01:39 CEST 2014

Thanks, Ista. I think RFacebook package is using HTTR to get access token too. So I don’t have to use it separately to get access token.

Once someone creates an app ID and secret, do they ever expire? I can’t find any information online about the expiration of App ID and App secret so I’m assuming they don’t ever become invalid?

From: Ista Zahn 
Sent: Monday, September 08, 2014 5:24 PM
To: Chichi Shu 
Subject: Re: [R] Using R to get updated access token on FB Graph API?

Take a look at the httr package, there is a Facebook example in the package demos.


On Sep 8, 2014 4:35 PM, "Chichi Shu" <chichi.shu at hotmail.com> wrote:

  Hi, R users,

  Is it possible to use R to obtain access token to Facebook API automatically? The access token generated in Facebook Graph API expires very soon so I'd like to use R to generate new access token and grab it and save it to a variable automatically every 60 days.

  Is it possible? If so, which packages should I use? Could someone shed light?

          [[alternative HTML version deleted]]

  R-help at r-project.org mailing list
  PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
  and provide commented, minimal, self-contained, reproducible code.

	[[alternative HTML version deleted]]

More information about the R-help mailing list