daroczig / fbRads

Analyze and manage Facebook ads from R using this client library to access their Marketing APIs
GNU Affero General Public License v3.0
153 stars 57 forks source link

Issue with fbad_get_my_ad_accounts() #134

Open maibennett opened 3 years ago

maibennett commented 3 years ago

Not sure what happened, because I just downloaded this package, but after trying to recover my accounts, I basically get this error:

accounts <- fbad_get_my_ad_accounts(token)
ERROR [2020-11-17 19:41:25] URL:  https://graph.facebook.com/v8.0/me
ERROR [2020-11-17 19:41:25] Method:  GET
ERROR [2020-11-17 19:41:25] Params:  List of 1
 $ fields: chr "adaccounts"
Error in fbad_request(path = "me", method = "GET", params = list(access_token = token,  : 
  This is a bug in the fbRads package. Please report on GitHub with a detailed output: SSL connection timeout
hhissami commented 3 years ago

I'm also encountering errors that I think are due to bugs specifically to this package (not on Facebook's end).

I ended up using the reticulate package to call the Facebook Marketing API via Python within RStudio. Seems to work better for my needs than fbRads so far, since I only want to pull in data for analysis.