Social Sharing API \ Re-Publish a previously published message

Send a POST request to this resource to publish a previously published message to other social networks.

Social Sharing API Resources/URI GET POST PUT DELETE
Sharing Messages /sharing/messages.<format> List published messages Publish a new message
Sharing Message /sharing/messages/<sharing_message_token>.<format> Get message details Re-Publish a message Delete a message

Workflow

1. Request: the code to send to the API

POST the following structure to the resource /sharing/messages/<message_token>.<format> to re-publish a previously published message. By publishing one and the same message to multiple users you obtain insights on how well the message is performing in terms of clickthroughs and resulting referral traffic.

  1. Re-Publish a new message to multiple social network identities of a given user
  2. Re-Publish a new message to a given social network identity

1.1. Re-Publish an existing message to multiple social network identities of a given user

  • What is a <user_token>?
    • A <user_token> uniquely identifies one of your users;
    • A <user_token> will be returned after a user has logged in to your Site with our Social Login Plugin;
    • The <user_token> for each of your users is included in the user list;
    • Include the <user_token> in the structure send to the API to specify on behalf of which user you want to post the message.
		{
			"request": {
				"sharing_message": {
					"publish_for_user": {
						"user_token": "<user_token>",
						"providers": [
							"facebook",
							"twitter",
							"linkedin"
						]
					}					
		    }
		  }
		}

1.2. Re-Publish an existing message to a given social network identity

  • What is a <identity_token>?
    • A <identity_token> uniquely identifies the social network profile one of your users;
    • A <identity_token> will be returned after a user has logged in to your Site with our Social Login Plugin;
    • A user can have multiple identites, an identity belongs to one sole user
		{
		  "request": {
		    "sharing_message": {
		      "publish_for_identity": {
		        "identity_token": "<identity_token>"	
		      }		     
		    }
		  }
		}

2. Result: the code returned by the API

The result is similar to the one you receive after having published a new message.