Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Issue with sharing in twitter

I am about to implement a twitter sharing functionality in my WP7 app, but ... there is a really tricky issue. So, shortly explained my code is same like most popular WP7 twitter share examples(using OAuth): SharingApp - http://shelastyle.net/blog/sharing-to-facebook-twitter-and-email-in-windows-phone-7/ and Twitt - http://twitt.codeplex.com/ .

The issue I am experiencing is, that when I authenticate on the twitter auth page, instead of redirection to my app, I am getting "We are having trouble displaying this page" (and the NavigationFailed is fired). I am getting the same error if I try to turn back to my app from the authentication page. The code is basically same like in the examples above, the only difference is, that the examples use the non-Mango version. (Actually, I have noticed, that the twitter authentication page is different for Mango and non-Mango apps, which means, that twitter did some changes obviously) I am attaching screenshots right before the error(I have highlighted the action, which triggers the error) and a screenshot with the error.

Screen 1: enter image description here

Screen 2: enter image description here

Error: enter image description here

Every help and thoughts are appreciated.

like image 508
Tech0 Avatar asked Feb 22 '26 13:02

Tech0


1 Answers

What are you trying to Share? If it is just web content, that you can link to, use the ShareLinkTask that was introduced in the Mango release. It will save you so much custom code.

like image 133
Pat Long - Munkii Yebee Avatar answered Feb 25 '26 04:02

Pat Long - Munkii Yebee



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!