Posts

Showing posts from November, 2013

SharePoint 2013 - Get Personal Site News Feed Thread ID From Search Results

I’m trying to build an App that allows a group of people to get reports on my site news feed for any inappropriate words.   This post, http://www.techoui.com/post/2012/12/Working-with-Social-Hashtags2c-Search2c-and-the-SharePoint-2013-CSOM.aspx , get me started by using the search client API. However, I soon realized that the way to compile Thread ID is different for site news feed and personal site news feed.  Typical personal site news feed thread ID would look like below (from HTML source of personal site news feed page): 1.527d55a9388047439ee30c11b71e3650.a5c4bd89f0314468b1c887ed3a76f70e.725153485bc24e969fd4aba69179920d.0c37852b34d0418e91c62ac25af4be5b.1397059c08e54b95b7de51056f4e94fb.27.27.S-1-5-21-1481920619-292190258-1324514410-864729 It’s in this format [ActorId].[RootPostUniqueID].[RootPostID].[ListItemID].[SID]  The first 5 parts are the actor ID (I can’t figure out exactly what’s used to build this Actor ID.  The last part of the Actor ID ...