tweetsharp

HTTP Requests (POST) doesn't works correctly in a DLL Library?

I'm trying to use TweetSharp in a DLL Library. When I execute the following code in a DLL Library, the response returns invalid (417 Unknown): var verify = FluentTwitter.CreateRequest() .AuthenticateWith("<HIDDEN>", "<HIDDEN>", "<HIDDEN>", "<HIDDEN>") .Statuses().Update("It works!"); var response = veri...

twitter status update using tweetsharp oauth preview 17.

I am trying to update the status using tweetsharp oauth preview 17. Please let me know how ?. I tried this code var msg = FluentTwitter.CreateRequest() .AuthenticateWith(_consumerKey, _consumerSecret, Session["token"].ToString(), Session["tokensecret"].ToString()) .Statuses().Update("Hi"); but didn't ...

Search on multiple keywords with tweetsharp

Hi, I am trying to use Tweetsharp to do a search on twitter for specific keywords but I want to do a search on multiple keywords. The following code works but only for one keyword. Anyone would know how to do an "or" search with tweetsharp? ITwitterLeafNode searchQuery = FluentTwitter.CreateRequest() .Search().Query() ...

(Simple) problem with TweetSharp

Here is what I did : 1. I create a C# project from VS .NET 2005 (Console application) 2. Attached the library from tweetsharp.com 3. I copied and pasted and tried to run The code //setting up a request is unchanged var twitter = FluentTwitter.CreateRequest() .AuthenticateAs(user, password) .Statuses().OnHomeTimeline().AsXml()...

avoiding twitter's login prompt with tweetsharp

i'm using tweetsharp to allow users to log into my site with their twitter account. the first time through, they need to give permission through twitter to access my site. fine. but this happens after the first time too. is there a way to avoid this? ...

.NET Security Error accessing external API

Hi, i'm building a small Twitter web app for myself. I am using TweetSharp but I keep getting an error: Server Error in '/test' Application. Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system...

How to get twitter server time?

So I'm trying to build a real time monitoring tool for twitter key words using tweet sharp. I'm using the search API to collect queries every 10-15 seconds. When I make the calls, I only want to collect tweets that have appeared since the pervious update. var twitter = FluentTwitter.CreateRequest().AuthenticateAs("username", "password"...

How to see if a user is following you on Twitter using C# Twitter API wrapper Tweetsharp

I see there is a API call for Frienships/Show, but I am not sure how to parse the response to get the true/false. Here is my code so far: var twitter = FluentTwitter.CreateRequest() .AuthenticateAs(_userName, _password) .Friendships().Verify(_userNameToCheck) .AsJson(); ...

Using Tweet# to pull 5 most recent updates from a user

I am working on a method that will allow me to pull in the 5 most recent posts that my company has made on it's Twitter account. One requirement of this web application is that it present these twitter posts as "regular" html in our website, so using the Twitter javascript method is ruled out. I have found Tweet#, a C# plugin that exp...

What are the difference in simple and OAuth autentication in Tweeter for?

I was checking out the Tweet# API, and notice that there are 2 ways to authenticate. .AuthenticateAs(TWITTER_USERNAME, TWITTER_PASSWORD) and .AuthenticateWith(OAUTH_CONSUMER_KEY, OAUTH_CONSUMER_SECRET, OAUTH_TOKEN, OAUTH_TOKEN_SECRET) if I just want to post as mess...

Twitter search c#

Hi, I have implemented a method which manually scrapes the Search Twitter page and gets the tweets on different pages. But since there is a fast refresh rate, the method triggers an exception. Therefore I have decided to use TweetSharp API instead var search = FluentTwitter.CreateRequest() .AuthenticateAs(TW...

Tweet's xml format

I get ' top tweets ' from twitter as an RSS feed in xml format . There is a guid field in that xml format. There is a long 11 digit number at the end of guid field , is it unique for every tweet ? ...

Should HtmlEncode be used when updating twitter status with Tweetsharp?

I am using tweetsharp to send tweets. var response = _twitter.AuthenticateWith(item.TwitterToken, item.TwitterSecret) .Statuses().Update(HttpUtility.HtmlEncode(item.Tweet)).AsXml().Request().Response; As you may have noticed, above I am HtmlEncoding the message this can cause the message to go over 140 chars? Is encoding the messa...

How to setup a project to use TweetSharp

I am trying to follow Pete Brown's introductory WPF tutorial which makes use of the TweetSharp libraries to interact with Twitter. I have downloaded what appears to be the latest TweetSharp binaries (and a few others including the ReleaseCandidate) from Codeplex (http://tweetsharp.codeplex.com/). No matter what references I add and no ...

Cannot find method AsToken() in TweetSharp

I'm attempting to create a web application with TweetSharp that will connect to Twitter with OAuth. So far I am able to pass the consumer key and consumer secret to Twitter, have the user allow my web app access, then come back to my app passing me the oauth_token. Once I get back I am attempting to authenticate to Twitter based on the...

Tweetsharp - Getting lists for authenticated user

How can i get the lists for the authenticated user & the lists that user follows ...

Using tweetsharp to pull my public timeline not returning any retweets

Hi, I am currently using TweetSharp to pull in my public timeline to my web application. Everything is working except I don't seem to be getting any retweets that I post. Is there a way that I can get my retweets also? Below is a snip of the code that I am currently using to pull in my tweets. Thanks for any help or advice! ...

Retweet button showing fail_redirect

Hi, in my website i'm using retweet button and when i am clicking on the button it showing link like http://tweetmeme.com/about/fail_redirect. can any one help me out this. Regards, Siva ...

Problem with Twitter oAuth and Tweetsharp

i'm using the following code but getting the error: Twitter returned an API error but TweetSharp was unable to parse it. my code is: var request = GetRequestToken(); //-- TwitterService service = new TwitterService(); OAuthToken unauthorizedToken = service.GetRequestToken(_consumerKey, _consumerSecret); string url = se...

Using tweetsharp to pull data for a specific user

Using tweetsharp to pull data for a specific user: I would like to get the numbers of retweet (RT or Retweet) and the numbers of mentioning (@). Could you help me? Thanks. ...