我正在开发一个使用Twitter API收集用户信息的应用程序。 我在当前的项目中使用linqToTwitter,但它不允许我做很多事情。适用于Windows 8 metro应用程序的Twitter API资源
例如,我需要获取搜索用户的关注者列表。 LinqToTwitter允许我找到名称被给出的用户以及谁在身份验证用户的追随者列表中。 代码如下:
public List<User> RecupererFollower()
{
var friendship =
(from friend in MainPage.twitterCtxProp.Friendship
where friend.Type == FriendshipType.FollowersList
&& friend.SourceScreenName==MainPage.texte
select friend).ToList();
Followers = (from friend in friendship
select new User //Un utilisateur est créé grâce aux données récupérées précédemment.
{
Name = friend.ScreenName
}).ToList(); //Cette partie constitue la liste de tweets récupérés précédemment.
return Followers;
}
但是,即使这行不通,因为查询需要特定用户的特定屏幕名。
我不想要这个,我想要更多的一般功能。
我能做些什么? 有人知道Windows 8 metro应用程序的其他资源?
目前尚不清楚你的问题是什么 - 你想把你给什么样的输入什么数据? “更一般的功能”是什么意思?意识到一个API客户端库可能只会让你访问API本身,你必须自己构建你的应用程序的功能。 – millimoose 2013-02-28 14:13:27