Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

Accessing Site Newsfeed in Sharepoint 2013 via REST API

$
0
0

Hi All, 

i have a sharepoint system set up and a site created named 'testsite'. 
I can access folders and documents via different means respectively, e.g.:

http://host.name/testsite/_api/web/GetFolderByServerRelativeUrl('/testsite/shared%20documents')/folders

Now i would like to access the newsfeed for this site. 
As far as i understand the documentation (whick lacks examples) i should be able to do so using the following URL:

http://host.name/testsite/_api/social.feed/actor(item=@v)/feed?@v='http://host.name/testsite/newsfeed.aspx'

However i get the following response:

<m:error xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<m:code>-1, System.Net.WebException</m:code>
<m:message xml:lang="en-US">The request was aborted: The request was canceled.</m:message>

</m:error>

I don't have any indication of what i am doing wrong here. And would appreciate any sort of help. 



Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>