Questions tagged [tweetsharp]

TweetSharp is a Twitter API library for adding Twitter to web and mobile applications.

Note The original TweetSharp is no longer being maintained. The currently published Nuget package for TweetSharp contains known problems which are fixed in the source available in the GitHub repository. There are also several forks, with alternate Nuget packages available, that contain the fixes from the repo.

TweetSharp v2 is a fast, clean wrapper around the Twitter API. It uses T4 templates to make adding new endpoints easy. It can also be used as an example of how to write a service-specific API wrapper using Hammock.

Resources

Installation

TweetSharp can most easily be installed through its NuGet package.

Install-Package TweetSharp 

From the Github Introduction to Tweetsharp: TweetSharp is a Twitter API library that greatly simplifies the task of adding Twitter to your desktop, web, and mobile applications. You can build simple widgets, or complex application suites using TweetSharp. The second version, a rewrite, was designed to be lighter, faster, and more intuitive than the original. You write fewer lines of code, make fewer decisions, and get better results.

Keywords: twitter tweetsharp web api http rest wrapper json xml wp7 mango

234 questions
29
votes
4 answers

TweetSharp - Where did FluentTwitter go?

In TweetSharp 1.0 there was FluentTwitter, TweetSharp 2.0 doesn't seem to have this anywhere, it doesn't even seem to be deprecated but rather just deleted altogether, can anyone point me if this part of TweetSharp is still available in 2.0 and how…
bevacqua
  • 47,502
  • 56
  • 171
  • 285
21
votes
1 answer

Tweetsharp authorization renders no oauth token

I am trying to implement tweetsharp in my asp.net mvc 3 application but I am running into issues. I have created a new twitter application with the following settings: Application website: http://127.0.0.1:8545/ Type: browser Callback URL:…
Thomas
  • 5,888
  • 7
  • 44
  • 83
18
votes
3 answers

Tweetsharp issue while getting the UserProfile and TimeLine

We are using TweetSharp(TweetSharp version = 2.3.1 and Newtonsoft.Json version = 5.0.6) API to show the Tweets of the Users in our web application. Below is the code that we are using in our asp.net mvc (C#) application: var service = new…
Prasad
  • 58,881
  • 64
  • 151
  • 199
16
votes
3 answers

Where is TweetSharp?

Cannot find TweetSharp v2.0 http://tweetsharp.com/ is expired http://tweetsharp.codeplex.com/ - 404 http://code.google.com/p/tweetsharp/ - 403 https://github.com/danielcrenna/tweetsharp/ - seems out of date, for example does not have…
Mike Chaliy
  • 25,801
  • 18
  • 67
  • 105
12
votes
1 answer

Return recent n number of tweets using TweetSharp

I am trying to get recent 200 tweets using TweetSharp but it is returning 12 for some reason. var service = new TwitterService( _consumerKey, _consumerSecret, tokenClaim, …
Chirdeep Tomar
  • 4,281
  • 8
  • 37
  • 66
8
votes
2 answers

Twitter API application-only authentication (with TweetSharp)

I am trying to retrieve public tweets from a server-side application, using application-only authentication (no user context). The following code works fine: var service = new TwitterService("", "
Xavier Poinas
  • 19,377
  • 14
  • 63
  • 95
7
votes
2 answers

Tweetsharp: Retrieve list of tweets from a specific user

Couldn't find this in the official TS documentation, other Tweetsharp SO posts, or digging through the library's classes; so I thought I'd ask. How do you retrieve a list of the most recent Tweets from a specific user using Tweetsharp? You can…
Frank Rosario
  • 2,512
  • 5
  • 31
  • 47
6
votes
5 answers

Get all tweets with specific hashtag

I've been experimenting with the Twitter API because I want to display a few lists of tweets on a special page. Among those lists is a list with all tweets containing a specific hashtag (e.g. #test) However I cannot find how to get that list in…
dtech
  • 13,741
  • 11
  • 48
  • 73
6
votes
3 answers

Why am I receiving this StackOverflowException?

I'm not sure what's going on here, it authenticates with the Twitter API just fine. But when it gets to the point where it should post to twitter, it throws a StackOverflowException that says: An unhandled exception of type…
Frostytheswimmer
  • 720
  • 4
  • 19
6
votes
0 answers

How do you use StreamFilter in TweetSharp?

How do you use StreamFilter in TweetSharp? All I get is "No Filter Parameters found" however I do not know how to enter filter parameters. Thanks!
Chris Lucian
  • 1,013
  • 6
  • 15
5
votes
1 answer

"Headers rejected by Twitter" when uploading media to Twitpic with TweetSharp/Hammock

I'm trying to upload a picture to Twitpic using TweetSharp and Hammock libraries in a WP7 app. The piece of code which uploads the photo is this: // Clients.srv is a TweetSharp TwitterClient RestRequest req =…
gjulianm
  • 834
  • 7
  • 22
5
votes
1 answer

How to get tweet's HTML with LinqToTwitter?

I recently switched from TweetSharp to LinqToTwitter and the one thing I'm missing is a way to retrieve a tweet as HTML. TweetSharp had a method called .TextAsHtml() which automatically linked mentions, hash tags, and hyperlinks. Does anyone know…
Derek Hunziker
  • 12,996
  • 4
  • 57
  • 105
5
votes
1 answer

Posting a tweet with TweetSharp in C# is taking much time

I'm using TweetSharp to send tweets from my C# application. My application is a game based on XNA and at the end of each game the scores are automatically sent to a Twitter account. The tweet is posted every single time with no errors, but every…
thegameg
  • 281
  • 4
  • 14
5
votes
1 answer

Newtonsoft.Json Dependency issue

My project uses Newtonsoft.json V4.5. Now I have a requirement to integrate twitter oAuth in my project. I decided to use Tweetsharp.dll for the integration. Got up with an issue of dependency conflict of Newtonsoft.Json that Tweetsharp requires…
Hamid Narikkoden
  • 851
  • 5
  • 12
4
votes
3 answers

Tweetsharp - Oauthaccestoken overflowexception

I've been stuck for a while on the following problem when I debug the following code: TwitterService service = new TwitterService("_consumerkey", "_consumersecret"); OAuthRequestToken requestToken = service.GetRequestToken(); …
user2963570
  • 381
  • 6
  • 21
1
2 3
15 16