Get Replies Workflow Failing

Oct 26, 2010 at 7:40 PM
Edited Oct 26, 2010 at 7:43 PM

I finally got through all the missing attributes and incorrect workflwos to get the download updates workflow and post status workflow to run. However I am stumped on the getreplies workflow. I am getting a workflow error but dont know what is causing it.

Workflow paused due to error: Unhandled Exception: System.Net.WebException: The remote server returned an error: (401) Unauthorized.     at System.Net.HttpWebRequest.GetResponse()     at MSA.SocialNetworking.oAuthTwitter.WebResponseGet(HttpWebRequest webRequest)     at MSA.SocialNetworking.oAuthTwitter.WebRequest(Method method, String url, String postData)     at MSA.SocialNetworking.oAuthTwitter.oAuthWebRequest(Method method, String url, String postData)     at MSA.SocialNetworking.msa_twitter.GetReplies(String _id, String _page)     at MSA.SocialNetworking.msa_twitter.GetReplies(String _id)     at MSA.SocialNetworking.GetReplies.Execute(ActivityExecutionContext executionContext)     at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext)     at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(Activity activity, ActivityExecutionContext executionContext)     at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)     at System.Workflow.Runtime.Scheduler.Run() 

Dec 14, 2010 at 7:28 PM

Having the same  issue . anyone with solution ? thanks

Jan 12, 2011 at 8:55 AM

hi, yes I had the same issue. Twitter changed the api. The replies method is no longer valid it seems. I changed the code to the method /statuses/mentions. You could also change the method to for example timeline or even retweets. In addition, keep in mind that twitter changed the whole api. This means you have to change the direction to everywhere in the code of your plugin. If you need help, that is to say, you want the plugins source code with the changed code, leave me a note on twitter.

Jan 12, 2011 at 8:01 PM

or leave a reply here...

Feb 26, 2011 at 12:42 PM

Hi,i tried to implement this project with OAuth authentication to make my dynamic crm capable to do social networking.Everything went fine but am facing errors at the GetExternal Updates workflow and as well GetReplies workflow.Any changes i should do?Am a newbie to this crm as well social crm concept,I would be thankful if anyone can guide me out.Thanks in advance!

Feb 28, 2011 at 12:01 PM

hi bhuvana_11.

Read what I wrote on the other discussion board: ""

"After changing this in the plugin code, I kept on getting 'authorization' problems with the replies method. It seems that the method no longer exists. Therefore, I changed it to the mentions method". Replies seems no longer valid within Twitter's api.

Mar 1, 2011 at 11:01 AM

Hi erikelviajero,

Thanks for your reply,I have followed your suggestions but still my GetReplies workflow fails away and as well my statuses are not updated in the twitter.I would be thankful if you could send me your new plugin code which works fine.Thanks in advance!

Mar 8, 2011 at 11:24 AM


I get authentication issues with GetReplies workflow.i changed the api direction from to and the replies method to mentions method.But still i get this error,can anyone help me in this?

Mar 8, 2011 at 12:50 PM

hi bhuvana_11 and tboy,

I am currently very busy with some clients at work. When I have time I will upload the adapted solution. For now, what you can try:

make sure you replace all statements to 

Also be aware that the mentions method only works for mentions of contacts, that is when a follower of your social network user has replied to a message of the social network user.

Mar 16, 2011 at 9:46 AM

Hi..I have managed to make my GetReplies workflow run successfully.Now my doubt is how to get followers and friends into the crm.Can anyone help me in this?