4

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:

  • category_enum:
    ADVERTISING_AGENCY
  • name:
    Test-Kraken-Name
  • about:
    test about
  • picture

  • cover_photo

Thank you for your help.

Simo
  • 955
  • 8
  • 18
Megaxr
  • 241
  • 1
  • 9

1 Answers1

15

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"}

Carl
  • 853
  • 9
  • 23
Megaxr
  • 241
  • 1
  • 9