tags:

views:

186

answers:

1

Hi there

I started to use twitterizer API for my blog. I post my tweet from my cms system. I get this error

The remote name could not be resolved: 'twitter.com'

In the .cs file my code goes here

Twitter t = new Twitter("emrekiyak", "*"); t.Status.Update(textbox1.Text);

and web.config configuration is that :

< trust level="Medium" originUrl="https?://(www.)?twitter.com/.+"/ >

How can i solve this problem.

Thank you all

A: 

Try updating your web.config entry to: <trust level="Medium" originUrl="https?://(www.|api.)?twitter.com/.+" />

In the newer versions of the framework, we've changed the domain name used (at Twitter's documentation), but I've not updated the article on the code project.

Also, if you need help, you'll get a faster answer from me if you post your question on our mailing list.

Ricky
Founder
Twitterizer

Ricky Smith