tweetsharp

    0熱度

    1回答

    我試圖使用TweetSharp的SendTweetOptions位置參數對象。 下面的代碼的作品,但曾在微博它不包括任何位置特定數據(緯度經度&不包含有效值)... SendTweetOptions options = new SendTweetOptions(); if (!string.IsNullOrEmpty(latitude) && !string.IsNullOrEmp

    6熱度

    3回答

    我不確定這裏發生了什麼,它使用Twitter API進行身份驗證很好。 但是當它到達它應該張貼到Twitter上的點,它拋出一個StackOverflowException,上面寫着: An unhandled exception of type 'System.StackOverflowException' occurred in mscorlib.dll 我很困惑。下面的代碼是導致並最終導致

    17熱度

    3回答

    我們正在使用TweetSharp(TweetSharp版本= 2.3.1和Newtonsoft.Json版本= 5.0.6)API在我們的Web應用程序中顯示用戶的Tweets。下面是我們使用在我們的asp.net的MVC代碼(C#)應用: var service = new TwitterService("ConsumerKey", "ConsumerKeySecret"); service.

    0熱度

    2回答

    我正在嘗試使用twitter實現OAuth,因此我的用戶可以使用他們的Twitter ID登錄到我的網站。爲此,我使用TweetSharp庫。按照他們的例子,我寫了下面的代碼,似乎工作。 public ActionResult Login(string oauth_token, string oauth_verifier) { var service = new Twi

    1熱度

    1回答

    我在WPF應用程序中使用TweetSharp連接到用戶的Twitter帳戶和檢索鳴叫。我使用的OAuth和引腳做驗證的登錄,使用下面的代碼: 顯示登錄頁面 TwitterService _twitterService = new TwitterService(_consumerKey, _consumerSecret); _requestToken = _twitterService.GetRe

    2熱度

    2回答

    我正在製作一個演示應用程序,我需要800條推文才能顯示特定用戶。 我知道twitter api每次只允許發送200條推文,我們可以獲得最多800條推文。 IEnumerable<TwitterStatus> homeTweets = service.ListTweetsOnHomeTimeline(new ListTweetsOnHomeTimelineOptions { Count = 200

    1熱度

    1回答

    我正在開發一個使用TweetSharp庫和wpf的演示應用程序,並且我希望所有用戶都關注我的用戶。 我使用TweetSharp庫的ListFollowers()方法,但它只給出20個關注者。 請幫忙。 在此先感謝。

    2熱度

    1回答

    我想將特定主題的推文存儲到文件中。 這是我的代碼。 package twitter4j.examples.search; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.List; import javax.net.ssl.SSLEngineResult.Status; p

    0熱度

    2回答

    目前,我必須向推特賬戶發佈推文(消息)。我使用TweetSharp 2.3.1。 以下是我的代碼: var service = new TwitterService(ConsumerKey, ConsumerSecret); service.AuthenticateWith(Token, TokenSecret); TwitterStatus result = serv

    1熱度

    1回答

    我正在使用TweetSharp API,並且我需要關注C#中的人員List,但是,我遇到了問題。適當的代碼如下: var results = service.Search(new SearchOptions {Q = hashtag}); //hashtag string entered by user List<decimal> users = new List<decimal>(); f