Twitter 时间线范例

演示采用 OAuth 进行身份验证以访问 Twitter 时间线。

Screenshot of the example

The Twitter 时间线 范例使用 OAuth,因为支持通过 Qt Network Authorization , to sign in to Twitter and display a timeline of tweets (in text format) associated with the authenticated user.

To use this example, a consumer key and secret from Twitter are needed. To register the application visit https://apps.twitter.com. You’ll need to add http://127.0.0.1:1337/callback as a callback URL in your Twitter app settings.

运行范例

要运行范例从 Qt Creator ,打开 Welcome 模式,然后选择范例从 Examples 。更多信息,拜访 构建和运行范例 .

范例工程 @ code.qt.io