In this post, let me tell you about How to Retrieve Followed Sites in SharePoint 2013 Using REST API. We can use the SharePoint 2013 representational State Transfer (REST) service to try to to constant tasks you’ll be able to do when you use the .NetCSOM, JSOM.


Here I make a case for a way to retrieve the site name and url followed by the current user in SharePoint 2013 using a client object model (REST API and JavaScript) and displaying it in the SharePoint page.

1. Make a new page and a Content Editor Webpart (CEWP)


2. And now, edit the web part that was added to the page as shown on the below picture:


3. And then , upload your text file script into the site assests & copy the path of the text file and paste it into the Content link in CEWP.
Write the following code shows how to retrieve all of the following sites:

SharePoint 2013 Hosting Recommendation’s SharePoint 2013 Hosting solution offers a comprehensive feature set that is easy-to-use for new users, yet powerful enough for the most demanding web developer expert. Hosted SharePoint Foundation 2013 is the premiere web-based collaboration and productivity enhancement tool on the market today. With SharePoint 2013 Foundation, you can quickly access and manage documents and information anytime, anywhere though a Web browser in a secure and user friendly way. SharePoint hosting services start at only at €9.99/mo, allowing you to take advantage of the robust feature set for a small business price. offers a variety of hosted SharePoint Foundation 2013 plans as well as dedicated SharePoint 2013 Foundation options

hostforlife banner