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
2
votes
3 answers

How to retrieve all Twitter users with TweetSharp using cursors?

I'm using TweetSharp in a WPF .NET 4.0 C# app and using an authenticated Twitter service object. I'm having issues iterating through a list of followers to retrieve every single profile. I'm using the following code: TwitterCursorList
ActiveNick
  • 551
  • 1
  • 4
  • 12
2
votes
1 answer

Why does TweetSharp always return only 100 followers?

I'm using the TweetSharp library in a .NET 4 (C#) application. Here is a helper method I built that returns followers for a given user. public static void FindFollowersForUser(TwitterUserModel twitterUser) { …
Only Bolivian Here
  • 35,719
  • 63
  • 161
  • 257
1
vote
1 answer

tweetsharp and api streaming?

I can't find a recent answer on this. Tweetsharp reportedly in a number of old posts does not support streaming from the Twitter user stream api. However github shows a class which looks like it does support…
Damo
  • 1,898
  • 7
  • 38
  • 58
1
vote
0 answers

Post Geocoordinates with TweetSharp on WP7

I am trying to add geocoordinates to Twitter posts on Windows Phone 7. The API provides a method SendTweet(string status, double lat, double @long, Action action) for doing so. However, the geocoordinates are not…
Christoph
  • 1,964
  • 2
  • 27
  • 44
1
vote
2 answers

send tweet from c# asp.net website

I have an ASP.net (c#) website which I'd like to send a tweet from (when an event occurs so not a front facing feature). I've looked at the DLL libraries, but cannot find how to use this with just websites - not an application. Is there any way to…
Matt Facer
  • 3,103
  • 11
  • 49
  • 91
1
vote
2 answers

How to check whether user is following me not using TweetSharp.TwitterService.ListFollowers()

Is there some function in TweetSharp that could be used in a similar way to my 'IsFollowingMe' below? I'd like to check whether a user is following me before I attempt to send some private message. TweetSharp.TwitterService service; string…
rudolf_franek
  • 1,795
  • 3
  • 28
  • 41
1
vote
1 answer

Twitter and Winform C# app is making me go bald

Ok twitter might be great for social media but for a small app that I am trying to create just for fun has turned into a nightmare. I have searched everywhere and can't find a good explanation on how to use the api. I am using the TweetSharp api…
Andres
  • 2,013
  • 6
  • 42
  • 67
1
vote
2 answers

Nuget package dependencies. Does it work the way it should?

RavenDb latest version is installed as a nuget package. It references Newtonsoft.Json 4.0.2. I'm trying to install TweetSharp. I get this log: M> Install-Package TweetSharp Attempting to resolve dependency 'Hammock (≥ 1.2.3)'. Attempting to resolve…
Nicolas Cadilhac
  • 4,680
  • 5
  • 41
  • 62
1
vote
3 answers

Multi login problem using Twitter and Facebook Oauth

I am adding Twitter and Facebook login to a MVC 3 test application using TweetSharp and Facebook C# SDK. Currently when a user signs in using Twitter I create a user account for that user in a user table and store the id, token, and token secret in…
Thomas
  • 5,888
  • 7
  • 44
  • 83
1
vote
1 answer

fetching all past tweets from users home timeline on twitter

I'm trying to write a program that will retrieve all of the tweets the user has seen on their twitter home timeline (ie, from people their following, as they would see at twitter.com). I realise this is a lot of data, and the rest API has…
RodH257
  • 3,552
  • 5
  • 36
  • 46
1
vote
1 answer

C# TweetSharp WCF service fails to generate TwitterMention

So using VS2010 (or SVCUTIL.EXE) to created a WCF class, it does not generate the TwitterMention part of the TwitterStatus or TwitterStatus.TwitterEntities. For example, I cannot access TwitterStatus.Entities.Mentions or any properties if I wanted…
Phil
  • 4,012
  • 5
  • 39
  • 57
1
vote
1 answer

Client app using Twitter and OAuth: Is my method correct?

I have an application that I've developed in .NET 4.0/C#. It's designed to be used by customers that want to watch hardware sensors and alert them of specific values. One option for notification is by "tweeting" to a Twitter account of their choice.…
JYelton
  • 35,664
  • 27
  • 132
  • 191
1
vote
2 answers

TweetSharp Remove/Undo Retweet

I am using TweetSharp for an little twitter application. I am able to select an tweet and retweet it... but I can't find a way to undo that action. Is that functionality not available in TweetSharp or is it just me :) ?
BvdVen
  • 2,921
  • 23
  • 33
1
vote
1 answer

Recent modification to Twitter API?

I wrote a very simple C# application to send Tweets between to Windows machines. To do this, each endpoint (ie this C#.NET desktop app that uses the TweetSharp library) has a timer, and when the Elapsed event fires all messages are gathered…
kmarks2
  • 4,755
  • 10
  • 48
  • 77
1
vote
0 answers

SecurityException when trying to read public timeline with TweetSharp

I'm trying to read from the public timeline with the TweetSharp library from a silverlight project when I get this exception. Unhandled Error in Silverlight Application Code: 4004 Category: ManagedRuntimeError Message:…
Jonas Van der Aa
  • 1,441
  • 12
  • 27