こんにちは 私のmvc.netアプリケーションでTweetsharpを使ってオフシェアリストを取得し、それらのイメージを共有したいと思っています。 しかし、私は同じドキュメントと適切なサンプルを持っていません。コントローラーアクションに追加する必要があるものと、ビューページに表示されるものtweetsharp mvc.netでの実装
同じリンクをいくつか付けてください。
munish
こんにちは 私のmvc.netアプリケーションでTweetsharpを使ってオフシェアリストを取得し、それらのイメージを共有したいと思っています。 しかし、私は同じドキュメントと適切なサンプルを持っていません。コントローラーアクションに追加する必要があるものと、ビューページに表示されるものtweetsharp mvc.netでの実装
同じリンクをいくつか付けてください。
munish
おかげで私はTweetsharpについて知っているが、linq2twitterを見ていません。 LINQを使用してTwitter APIに簡単にアクセスできます。
public void MyMethod() {
TwitterService service = new TwitterService(key, secret, "Token", "Secret");
ListFriendsOptions options = new ListFriendsOptions();
options.Cursor = 12345;
// should the response have user entities
options.IncludeUserEntities = false;
// The screen name of the user for whom to return results for.
options.ScreenName = "";
options.SkipStatus = false;
// The ID of the user for whom to return results for.
options.UserId = 12345;
// this will return a list of friends for the specified user.
TwitterCursorList<TwitterUser> listOfFriends = service.ListFriends(options);
}
上記のコードは、TweetSharpというサードパーティのライブラリを使用しています。画像について
は何をすべきかをするようわからないイムしかし、あなたは情報のためのTwitterのRESTのAPI v1.1ので https://github.com/danielcrenna/tweetsharp
https://dev.twitter.com/docs/api/1.1/get/friends/list
https://dev.twitter.com/docs/api/1.1
TweetSharpを見ることができます