Questions tagged [rfacebook]

Use this tag for question about using rfacebook - R package to access Facebook's API

rfacebook - R package allow to access Facebook's API

to get information about public pages, groups, and posts, as well as some of the authenticated user's private data.

Github: https://github.com/pablobarbera/Rfacebook

33 questions
0
votes
0 answers

Access Facebook's API using R without creating an app

I've been looking online for the past two hours and the only way I've found to access Facebook's API using R is through the Rfacebook library by creating an app in Facebook's developer's forum. The reason I'm reluctant to do this is because it…
Litmon
  • 247
  • 3
  • 18
0
votes
0 answers

Facebook API v3.2 connection issue with Rfacebook package in RStudio

I'm connecting to Facebook API v3.2 in order to get my friends information. I had the following error: Invalid Scopes: user_relationships, publish_actions. This message is only shown to developers. Users of your app will ignore these permissions if…
Joe
  • 575
  • 6
  • 24
0
votes
0 answers

R Language: getCommentReplies() error:

despite reading the existing answers, I still don't know how to fix this problem. I am trying to extract Comments For each post in the 1st phase which it is doing successfully and then in the 2nd phase for each comment extract the corresponding…
0
votes
1 answer

Encoding issue with data pulled from facebook api

I'm pulling data from a public page through the rfacebook package. My code is below: fb_oauth <- fbOAuth(app_id="###", app_secret="###", extended_permissions = FALSE, legacy_permissions = FALSE) #id/secret is hidden telekom <-…
Prometheus
  • 1,977
  • 3
  • 30
  • 57
0
votes
0 answers

how to get facebook search results

I am trying to build a network of people that match a search criteria on FB and get their friends. All public information of course, or at least accessible to my own account. Say I search for the name "Smith". I want to get all the people that match…
0
votes
1 answer

Encoding in R : <> unicode to letter

I am having problems when extracting comments from posts using the RFacebook package. localiza <- getPage(543362459038077,token = my_oauth,n=10) post <- getPost(post = localiza$id[1], token = my_oauth) here The problem is the encoding of the…
0
votes
0 answers

getPage function only throws video data

I have been using the getPage function from the Rfacebook package for a long time to retrieve the post ids from facebook pages, but lately, it only throws the data for videos. Anyone knows why this is happening?
0
votes
1 answer

Stop Rfacebook for loop outputting while still running code

The point in the code is to gather posts from a Facebook page and store them in my_page however i am unfamiliar with the code as it is for a Uni project. The problem i have is that it has to be used in a .rpres format created using Rstudio and as…
Aelux
  • 77
  • 8
0
votes
0 answers

R: My loop returns the same value over and over again

if anyone can help me I would be grateful, I am trying to solve but without success! I have a dataframe with a list of IDs. With "Rfacebook's" package, I apply the "getPost's" function to receive all the data that I need. However, when I do the…
Falves
  • 37
  • 1
  • 8
0
votes
0 answers

httpuv error in R (needed for RFacebook)

I used RFacebook about two months ago and had no problem, but now when I go to download and run RFacebook, I get an error. install.packages ("RFacebook") works fine. But when I run library(RFacebook) I get the error: "package 'httpuv' could not be…
john
  • 1
0
votes
1 answer

Why is my Rfacebook loop script not working when there is a post with zero comments?

I've edited my question to be more relevant It's only been less than a month since I started to learn R and I'm trying to use it to get rid of the tedious work related to Facebook (extracting comments) that we use for our reports. Using Rfacebook…
Chellie05
  • 1
  • 2
0
votes
1 answer

Rfacebook package, "fbOAuth(appid, appsecret)" fails to get an access token. Returns bad request (HTTP 400)

I am trying to scrape some text from fb using the 'Rfacebook' package. Even after installing Rfacebook & tm, running relevant libraries (Rfacebook, httr, tm, and httpuv), fboAuth(appid, appsecret) is failing to get the reqd. access token. Please see…
Sachin D
  • 73
  • 1
  • 2
  • 8
0
votes
0 answers

Rfacebook package: "Unsuported get request" for the getPage method

I am trying to extract all the posts from this year from a Facebook page using the Rfacebook package. However, for the page that I need I get this error: "Error in callAPI(url = url, token = token) : Unsupported get request. Object with ID 'XXXXX'…
0
votes
1 answer

Extraction of post from Facebook using RFacebook package

I succeed getting the text of the post and share and likes count. However, I am not able to get the like of the comments associated with the post . If this information is not avalaible , I would like to merge the like count of the post to each…
Nico Coallier
  • 676
  • 1
  • 8
  • 22
0
votes
1 answer

Error in callAPI(url = url, token = token) : (#100) Tried accessing nonexisting field (from) on node type (Page)

I am trying to access all the comments on a post on a particular fb page using getPost function. I am getting the below error. So how can I resolve this issue?…
Abhinav
  • 501
  • 1
  • 5
  • 17