Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用 tweetsharp 为特定用户提取数据:我想获得转发次数(RT 或转发)和提及次数(@)。
你可以帮帮我吗?谢谢。
TweetSharp 的当前版本 2.0 具有直接映射到 Twitter API 的方法。
假设您拥有用户的 oAuth 令牌,您可以使用以下方法
.ListRetweetsOfMyTweets(...) .ListTweetsMentioningMe(...)
如果您无权访问用户的个人资料,您仍然可以使用标准搜索查询语法搜索该用户。
.Search("to:JohnDoe" ... ) .Search("from:JohnDoe" ... )
两者都应该为您提供所需的详细信息。