Toshl Developer

Share with friends

Share the selected text with friends via Twitter, Facebook or Google+. In order to share on the selected social network, the user must hook it up first.

User can share to get a free month of pro features. To do so include a get parameter for with value pro. If user cannot share for pro anymore, 403 Forbidden with an error explanation is returned. To know if user can share for pro or not check limits value pro_share on /me endpoint.

POST /me/shares/{id}/share

Required scope:

Parameters

id *
required
string

Share id.

to *
required
string

Share to network.

Possible values: twitter, facebook, google
message
optional
string

Optional share message.

* denotes required field/parameter.