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

TweetSharp from Azure?

I recently started deploying my fully functional Twitter bot (which is supposed to post a new short story every day or so) to my Twitter profile. It is being invoked through a CRON job on Azure, and is hosted in an MVC 4 project. However, when I try…
Mathias Lykkegaard Lorenzen
  • 15,031
  • 23
  • 100
  • 187
0
votes
1 answer

TweetSharp ‘GetRequestToken’ return no token on Windows Phone 7.1

I'm trying to share picture to twitter in my app with TweetSharp, the code is as follow: TwitterService TwitterApi = new TwitterService("My_consumerKey", "My_consumerKey_Secret"); TwitterApi.GetRequestToken(twitterProcessRequestToken); private void…
Yyao
  • 395
  • 3
  • 17
0
votes
2 answers

Tweetsharp Search Function

I have written a small piece of code and can't work out where I'm going wrong. All I want to do is perform a search on twitter using tweetsharp and return the results. Here is the code: protected void Page_Load(object sender, EventArgs e){ …
0
votes
1 answer

tweetsharp overload error when using MVC4 - Internet application template

When creating a new mvc4 internet project with the internet application template when you install the tweetsharp nuget packack it is giving me and error message on service.VerifyCredentials(); using TweetSharp; public ActionResult…
Trevor
  • 16,080
  • 9
  • 52
  • 83
0
votes
1 answer

How to use tweetsharp.search?

I'm working with TweetSharp and I'm not able to use the "search" function. I tried to find it but in every example that I saw the second parameter is an integer and it doesn't work. TwitterService service = new TwitterService(consumerKey,…
user1551327
0
votes
1 answer

Hammock Package , Tweetsharp and C# Windows Phone 8

I followed this link http://samjarawan.blogspot.co.uk/2010/09/building-real-windows-phone-7-twitter_18.html step by step and when I am running my app, I am getting an error i.e. "Error Calling Twitter". When I searched about it, I found that in…
0
votes
1 answer

.NET - Update status (tweet) to Twitter without PIN or real Callback url?

I'm trying to write an app that can tweet using an 'application' I registered with Twitter. I am using TweetSharp and have tried to get my TwitterService set up as follows: public Twitter(string consumerKey, string consumerSecret) { …
lintmouse
  • 5,079
  • 8
  • 38
  • 54
0
votes
2 answers

Links not displaying properly in ASP MVC3 razor view

I've implemented the solution explained in this post How to get tweet's HTML with LinqToTwitter? but when I display my tweets the HTML links appear like this @cgitosh And how…
cgitosh
  • 313
  • 3
  • 12
0
votes
3 answers

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("", "", …
Zanoni
  • 30,028
  • 13
  • 53
  • 73
0
votes
1 answer

How detect video content in url?

I stream tweets in my wp8 app, using TweetSharp. I want to detect the content in each tweet. With photos it's simple, using TwitterStatus.Entities.Media its a collection of images. Harder with video, links to videos are in…
Dima Serdechnyi
  • 707
  • 2
  • 10
  • 19
0
votes
1 answer

How to filter links and pictures in tweets?

I'm developing wp8 app, using TweetSharp. All the links in tweets are look like t.co/aBRaKadABra. Part of links - pictures, rest - redirect to external pages. So, how can I detect that link is image? I want to put it in , and if it just link…
Dima Serdechnyi
  • 707
  • 2
  • 10
  • 19
0
votes
1 answer

% signs in a Twitter post using Tweetsharp causes 401 Unauthorized

I have a simple piece of code that sends out a Tweet. Keeping the message with the % signs in it causes a 401 Unauthorized error: class Program { static void Main(string[] args) { var test = new TwitterService("ConsumerKey",…
Rob
  • 1,390
  • 1
  • 12
  • 25
0
votes
1 answer

Paging vs. cursoring with max_id in TweetSharps ListTweetsOnSpecifiedUserTimeline

In their 'Working with Timelines' document at http://dev.twitter.com/docs/working-with-timelines Twitter recommend cursoring using the max_id parameter in preference to attempting to step through a timeline page by page. Looking at the documentation…
dumbledad
  • 16,305
  • 23
  • 120
  • 273
0
votes
1 answer

Getting public tweets using C#

TwitterService service = new TwitterService(); service.AuthenticateWith("XXXXXX", "XXXXXXX"); // Geting Tweets On Specific Topic var twts = service.Search("#ghaza", 100); List resultList = new…
user1850156
0
votes
1 answer

How to use local server for tweetsharp application

I have made a demo which is about authenticate the user through tWitter. I want to callback to this url http://localhost:56501/home/authorize. When I tried to set this url in my application settings it's not work. I got the error that url is not…
1 2 3
15
16