Can someone please help with the image file format used in schedule_custom_profile_image, to upload image in Facebook create Live video API. click here to refer the API
It is mentioned in the API to pass the profile image as image format. I have tried with base64 format, blob format, the local image path, binary format.
None of the above worked for me.
I have tried using curl too :
curl -X POST \
-F "planned_start_time=1486645055" \
-F "access_token={access_token} " \
-F "schedule_custom_profile_image=@//Users/blin/picture.png" \
https://graph.facebook.com/v2.8/me/live_videos
But here it does not provide the exact format. This seems as image path.
I'm getting error :
{"error":{"message":"(#100) Invalid image format. It should be an image file data.","type":"OAuthException","code":100,"fbtrace_id":"AOng3JJfJsH"}}