SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to create a Remote Event Receiver that will update the social feed of a user when ever he adds an item to a list on SharePoint Online. I've initiated the client context object using the code from

Whenever i try to initiate the SocialFeedManager inside the using statement as such:

using (ClientContext clientContext = TokenHelper.GetClientContextWithAccessToken(sharepointUrl.ToString(), accessToken))
                SocialFeedManager feedManager = new SocialFeedManager(clientContext);
                writeToList(properties, "RemoteEventLog", "got feedmanager");

I never get to the writeToList method. If i remove the SocialFeedManager initiation the writeToList method gets called just fine.

To make matters even worse, if i try to debug my Remote Event Receiver it works just fine, its only when i deploy it that it refuses to work with the SocialFeedManager.

share|improve this question
good question :) – Alex Choroshin Apr 3 '13 at 13:24
I'm facing the same issue with PeopleManager class. Is there any known limitation using social api inside remote event recievers? – rawel Oct 24 '13 at 10:40
Only solution i found was using the REST API instead.. works great. – Johnny Tordgeman Oct 29 '13 at 20:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.