summaryrefslogtreecommitdiffstats
path: root/examples/oauth/twittertimeline/twitter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/oauth/twittertimeline/twitter.cpp')
-rw-r--r--examples/oauth/twittertimeline/twitter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/oauth/twittertimeline/twitter.cpp b/examples/oauth/twittertimeline/twitter.cpp
index ddc174b..8529537 100644
--- a/examples/oauth/twittertimeline/twitter.cpp
+++ b/examples/oauth/twittertimeline/twitter.cpp
@@ -67,7 +67,7 @@ Twitter::Twitter(const QString &screenName,
QObject *parent) :
QOAuth1(clientCredentials.first, clientCredentials.second, nullptr, parent)
{
- replyHandler = new QOAuthHttpServerReplyHandler(this);
+ replyHandler = new QOAuthHttpServerReplyHandler(1337, this);
replyHandler->setCallbackPath("callback");
setReplyHandler(replyHandler);
setTemporaryCredentialsUrl(QUrl("https://api.twitter.com/oauth/request_token"));