Atom APIs provided with IBM® Connections 4 allows to start following a resource included a Wiki, all you need to do is to send a follow Atom entry document on the request to identify what Wiki you want to start following. Here's one easy way to do it with an asynchronous HTTP (Ajax) request using jQuery.
IBM Connections 4 documentation link: Start following a resource
Atom API Request Details
Pass a follow Atom entry document on the request to identify what Wiki you want to start following.
|Response||Status Code: 200 OK|
Example Atom Entry
In lines 3 and 7 add the Id of the Wiki to follow
Example using jQuery
Note: console.log can throw errors in IE, they are there for illustrative purposes only and should be changed as required.