Twitter Timeline Example | Qt Network Authorization 5.12.8

Qt 5.12 | Qt Network Authorization | Qt Network Authorization Examples | Twitter Timeline Example

Qt Network Authorization | Commercial or GPLv3

# Twitter Timeline Example

Demonstrates authenticating with OAuth to access a Twitter timeline.

The Twitter Timeline example uses OAuth, as supported by 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.

## Running the Example

To run the example from Qt Creator, open the Welcome mode and select the example from Examples. For more information, visit Building and Running an Example.

Files:

- twittertimeline/main.cpp
- twittertimeline/twitter.cpp
- twittertimeline/twitter.h
- twittertimeline/twitterdialog.ui
- twittertimeline/twittertimeline.pro
- twittertimeline/twittertimelinemodel.cpp
- twittertimeline/twittertimelinemodel.h