Functions - post message

From The Socknet

(Redirected from Service Restrictions)
Jump to: navigation, search

post_message instructs a Provider to post a message as the user after asking the user for verification.

Specification

POST post_message
{ from: { serviceid: "http://www.photophools.com/socknet-service.json"
           },
  message: "UserA posted a photo.",
  return: "http://www.photophools.com/thing-the-user-was-doing"
}

->
{ redirect: "http://users-profile.com/verify/2356223" }

The function must be called via POST.

The request includes a message field which holds a string in Socknet Message Format.

The request must include a return field.

The response is a redirect.

Support

Providers must support this function.

Services have no use for this function.

Further Reading

Personal tools