I'm developing a Facebook App and i need to create a Test Page.
I'm following the documentation and i'm stuck at the step 3: Creating a test page using Graph API.
It doesnt matter what URL i set to the cover_photo
field, i always receive:
(#100) Params cover_photo with a valid URL is required for creating a page.
I tried different size, extension. I also re-used the picture field url.
Here are the parameters of the POST request:
picture
cover_photo
Thank you for your help.
Thank to the Facebook Developer Community.
So the cover_photo, instead of being a url, must be an object with a url field and the url as value.
As an example in the Graph API Explorer:
name: cover_photo
value: {"url": "https://path.to/image.png"}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With