daily pastebin goal
11%
SHARE
TWEET

Untitled

a guest Jul 12th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. library("Rfacebook")
  2.  
  3. fb_oauth <- fbOAuth(app_id="______", app_secret="______")
  4. save(fb_oauth, file="fb_oauth")
  5. load("fb_oauth")
  6. me <- getUsers("me", token=fb_oauth)
  7. me$username
  8.  
  9. insights <- getInsights(object_id="______", token=fb_oauth, metric='page_impressions')
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top