In this article we will learn how to retrieve a user's News Feed in SharePoint 2013 using the REST API.
Introduction
We can use the SharePoint 2013 Representational State Transfer (REST) service to do the same tasks you can do when you use the .Net CSOM and JSOM.
Here I explain how to retrieve the newsfeed followed by the current user in SharePoint 2013 using the REST API and displaying it in the SharePoint page in the app model.
Procedure
Prerequisites
These are the important steps that precede the creation of the APP.
Specify the following permissions that your app needs:
Expand the Scripts node, choose the App.js file and delete the contents of the file and replace it with the following code:
Once you completed the code part then run the project.
After deploying the app select the Click here to launch your app in new window link and it will redirect to another page.
Click the Trust it button here.
OutputThe current users followed news from my site.
I hope you have enjoyed this.
SharePoint 2010 Administration & Development