I want to load the data Facebook has related to my own profile into R. Though, when I run the code below, I end up with an empty dataframe. 1 Row referring to myself and 15 variables all giving NA's except for my id and name. The question is how do I get the data instead of NA's?
# Set up APP connection
install.packages("devtools")
library(devtools)
install_github("Rfacebook", "pablobarbera", subdir="Rfacebook")
require("Rfacebook")
fb_oauth <- fbOAuth(app_id="****", app_secret="*****", extended_permissions = TRUE)
save(fb_oauth, file="fb_oauth")
load("fb_oauth")
# Retrieve own user information
me <- getUsers("me",token=fb_oauth, private_info = TRUE)
my_likes <- getLikes(user="me", token=fb_oauth)