post


Posts a tweet to the user’s linked Twitter 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 Twitter.
postXrefType optional The type of content being sent to Twitter. (Optional)
postXrefId optional The identifier for the content being sent to Twitter. (Optional)
output optional The response output format. Accepts JSON and XML.

Request Syntax

https://services.onesite.com/rest/svcTwitter?action=post&nodeID=188234&userID=229928503&postText=Posting from a service!&postXrefType=blog_post&postXrefId=117101916&devkey=[devkey]

JSON Response