用于桌面应用程序的 Twitter API 库? [英] Twitter API libraries for desktop apps?
问题描述
我正在寻找一种从 Twitter 获取最近帖子的方法.真的,我只是希望能够从 twitter 中抓取和存储关于某个主题的新帖子在一个文本文件中.是否有任何当前的程序或库可以执行此操作(最好是 C++,尽管 python 也可以)?人们会建议什么?
I'm looking for a way to fetch recent posts from twitter. Really I just want to be able to grab and store new posts about a certain topic from twitter in a text file. Are there any current programs or libraries which do this (prefrably C++, although python is ok too)? What would people suggest?
推荐答案
您可以查看 API 文档 这里,这里列出的一些项目:
you can check the API docs here, some of the projects that are listed there:
C++
QTweetLib - 基于 C++ Qt 的 Twitter 库
QTweetLib - C++ Qt based Twitter library
QTwitLib 作者:Bradley Lackey &马克·佐林.适用于 Linux、Windows 和 Mac 的 C++ 库.目前处于测试阶段.自 2009 年以来未维护.
QTwitLib by Bradley Lackey & Maks Zolin. C++ library for Linux, Windows, and Mac. Currently in beta. Unmaintained since 2009.
Twitcurl 作者:Mahesh.使用 curl 库与 Twitter API 进行 HTTP 交互的 C++ 库.
Twitcurl by Mahesh. C++ library which uses curl library for HTTP interaction with Twitter API.
Python
oauth-python-twitter2 作者:Konpaku Kogasa.结合 python-twitter 和 oauth-python-twitter 来创建一个进化的 OAuth Pokemon.自 2010 年以来未维护.
oauth-python-twitter2 by Konpaku Kogasa. Combines python-twitter and oauth-python-twitter to create an evolved OAuth Pokemon. Unmaintained since 2010.
python-twyt 作者:安德鲁·普莱斯.BSD 许可 Twitter API 接口库和命令行客户端.项目中止.
python-twyt by Andrew Price. BSD licensed Twitter API interface library and command line client. Project discontinued.
twitty-twister 作者:Dustin Sallings.Twitter 的扭曲界面.
twitty-twister by Dustin Sallings. A Twisted interface to Twitter.
twython 作者:赖恩·麦格拉思.受 python-twitter 启发的 REST 和搜索库.
twython by Ryan McGrath. REST and Search library inspired by python-twitter.
Tweepy 作者:Josh Roesslein.支持 OAuth、Search API、Streaming API.
Tweepy by Josh Roesslein. Supports OAuth, Search API, Streaming API.
这篇关于用于桌面应用程序的 Twitter API 库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!