演示采用 OAuth 进行身份验证以访问 Twitter 时间线。
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 ,打开 欢迎 模式,然后选择范例从 范例 。更多信息,拜访 构建和运行范例 .