I′m trying to import data from Facebook mkt api into google sheets, however, there are some URL that seem to be working properly but there are others in which it returns the error of "Exception: Invalid argument:"
The URL that works is this one: https://graph.facebook.com/v9.0/act_57968134*****?access_token=***********
The URL that doesnt work is this one: https://graph.facebook.com/v9.0/act_57968134****?fields=campaigns{name}&access_token=***********
enter image description here
Does anybody know why this is happening? I tried other codes that I found in github but it′s the same, there is a problem with that specific URL...
Thank you a lot
Thanks to Carlos M found the answer! Facebook Graph API not working on UrlFetchApp
1.4m articles
1.4m replys
5 comments
57.0k users