Yup, broken because old Twitter API is deprecated. See https://twitter.com/kloojed/statuses/292621633229836288
Ah, I thought so!
Do you happen to know if this patch was ever released?
Robert
No, sorry. I see you contacted @episerver on Twitter, you could also try @kloojed who seems to know how to fix it.
Please update this thread with the solution if you find it :-)
I solved it by modifying the static field containing the endpoint at application start up.
var field = typeof(EPiServer.Social.Providers.Twitter.TwitterClient).GetField("UpdateStatusEndpoint",
BindingFlags.Static |
BindingFlags.NonPublic);
// Normally the first argument to "SetValue" is the instance
// of the type but since we are mutating a static field we pass "null"
field.SetValue(null, new MessageReceivingEndpoint("https://api.twitter.com/1.1/statuses/update.json", HttpDeliveryMethods.PostRequest));
Marcus
Thanks Marcus.
Unfortunately I can't even set up the Twitter channel as it won't authenticate.
How did you get around this?
Robert
I'm not sure what you mean, can you add the twitter channel but when you try to authenticate it fails?
I can't actually add a Twitter channel, an error is thrown when I click the "Edit Account" link.
Robert
Ok, what does the error message say? I had one issue with Newtonsoft.json, I used the wrong assembly version which caused a error for me.
The error is:
DotNetOpenAuth.Messaging.ProtocolException: Error occurred while sending a direct message or getting the response. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.
Hm sorry, I out of ideas ... maybe you could check the dotnetopenauth settings in web.config, I think the whitelistHosts setting is important if you are running your site locally.
Hi,
We have now updated social reach for cms 6 r2 to support the new twitter api + a few more things. You can download it here: http://world.episerver.com/Download/Items/EPiServer-Social-Reach/EPiServer-Social-Reach-1-Beta/
There is also a new "latest downloads" box on the downloads page where you can track everything we release.
Hi Peter,
That's brilliant news, thank you.
The download link doesn't seem to work though, I get a Page Not Found error when I try to download.
Robert
Hi, sorry for the inconvinience that the download did not work. But it is fixed now.
Thank you Helen and Peter.
I have downloaded and installed this update and it seems to have fixed the issue I was having.
Regards,
Robert
Hi,
I've just installed Social Reach, but I'm having problems setting up a Twitter channel.
Facebook and LinkedIn work fine, but Twitter will not authorise and I get the following error: