演示采用 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 ,打開 歡迎 模式,然後選擇範例從 範例 。更多信息,拜訪 構建和運行範例 .
文件: