Create a Post
This endpoint allows you to create a post on your facebook page
Settings:
URL | |
Method | JSON via POST |
Body:
Parameter | Description / Example | Mandatory | Example |
apiKey | Your API key for the service | yes | 4124-634t462-634733463-5734346 |
from | The ID you received for the connection | yes | 463745743546345 |
type | can be any of the following: text - for creating a post with only text. video - if you wish to have a video type post photo - if you wish to have photo type post | yes | text |
body | The body of the post, based on the 'type' value. it can have plain text only and \n for line break If type is 'text', here you put all your post text If type is 'video', here you put the video description If type is 'photo', here you put the photo caption maximum 63,206 characters. | yes | Welcome to my first Post! |
url | Used only if type is 'video' or 'photo' that you wish to have single image in the post https only url that contains video or image, based on the 'type' value | no | https://example.com/image.jpg |
urls | Array of urls if you wish to send albom of images (only for type = photo). list of array of images (2 to 10 only) must have https url. | no | ["https://example.com/image.jpg", "https://example.com/image2.jpg"] |
title | If 'type' = video, you can provide the video title | no | "Here is my video title" |
scheduleTime | You can schedule the post to be in future time. if omit, the post will publish immidiately. UNIX time in seconds must be between 1 minutes to 30 days | 1786000000 |