Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- library("Rfacebook")
- fb_oauth <- fbOAuth(app_id="______", app_secret="______")
- save(fb_oauth, file="fb_oauth")
- load("fb_oauth")
- me <- getUsers("me", token=fb_oauth)
- me$username
- insights <- getInsights(object_id="______", token=fb_oauth, metric='page_impressions')
Add Comment
Please, Sign In to add comment