post
post
Shares a post on the user’s linked Facebook account.
Parameters
Name | Description |
nodeID optional | The node ID for this domain. |
domain optional | Domain of ONEsite network to work with. |
userID required | ID of a ONEsite user. |
postText required | A message to send to Facebook. |
postXrefType optional | The type of content being sent to Facebook. (Optional) |
postXrefId optional | The identifier for the content being sent to Facebook. (Optional) |
output optional | The response output format. Accepts JSON and XML. |
Request Syntax
https://services.onesite.com/rest/svcFacebook?action=post&nodeID=188234&userID=229928503&postText=Posting from a service!&postXrefType=blog_post&postXrefId=117102213&devkey=[devkey] |
JSON Response
1 2 3 4 5 6 |
{ "service":"svcFacebook", "action":"post", "code":1, "message":"Sending post to Facebook." } |
Service Information
Service | svcFacebook |
Method | post |
Type | REST |
Response Types | JSON, XML |