facebookresearch / Radlibrary

An R package for accessing the Facebook Ad Library API

Home Page:https://facebookresearch.github.io/Radlibrary/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Graph API version default should be updated

colin-fraser opened this issue · comments

The current default is to use version 5.0 which is no longer officially supported. This doesn't seem to break anything but we should update it.

Hi @colin-fraser,

I remapped query names to newer api route names (e.g. creative_body_title now is creative_body_titles, creative_body_description is creative_body_descriptions etc.).
Today I sent a PR.

Thanks @NiccoloSalvini for doing that, but I believe the issue you're describing has been resolved already in the latest version of Radlibrary. See the release notes here.

This issue refers to the version number that is specified in the API call sent to the graph API—all of the calls from this package specify "version=v5.0" which is no longer a currently supported graph API version. That said, it doesn't seem to actually break anything so I haven't changed it yet.

Didn't see that, that's awesome! I am closing #102.