* [gentoo-commits] gentoo-x86 commit in net-im/choqok/files: choqok-1.1-twitter.patch
@ 2012-01-17 0:09 Johannes Huber (johu)
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Huber (johu) @ 2012-01-17 0:09 UTC (permalink / raw
To: gentoo-commits
johu 12/01/17 00:09:04
Removed: choqok-1.1-twitter.patch
Log:
Remove old.
(Portage version: 2.2.0_alpha84/cvs/Linux i686)
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-im/choqok/files: choqok-1.1-twitter.patch
@ 2011-09-23 21:39 Andreas HAttel (dilfridge)
0 siblings, 0 replies; 2+ messages in thread
From: Andreas HAttel (dilfridge) @ 2011-09-23 21:39 UTC (permalink / raw
To: gentoo-commits
dilfridge 11/09/23 21:39:42
Added: choqok-1.1-twitter.patch
Log:
Fix twitter authentication, bug 383307
(Portage version: 2.1.10.19/cvs/Linux x86_64)
Revision Changes Path
1.1 net-im/choqok/files/choqok-1.1-twitter.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/choqok/files/choqok-1.1-twitter.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-im/choqok/files/choqok-1.1-twitter.patch?rev=1.1&content-type=text/plain
Index: choqok-1.1-twitter.patch
===================================================================
commit 9053b699c33d998d3933a6c11e4ff624846620e5
Author: Mehrdad Momeny <mehrdad.momeny@gmail.com>
Date: Sun Jul 24 11:30:49 2011 +0800
BUG:275185 Get user friends list bug fixed
diff --git a/helperlibs/twitterapihelper/twitterapimicroblog.cpp b/helperlibs/twitterapihelper/twitterapimicroblog.cpp
index 1efbb1f..1a87d61 100644
--- a/helperlibs/twitterapihelper/twitterapimicroblog.cpp
+++ b/helperlibs/twitterapihelper/twitterapimicroblog.cpp
@@ -681,14 +681,18 @@ void TwitterApiMicroBlog::requestFriendsScreenName(TwitterApiAccount* theAccount
TwitterApiAccount* account = qobject_cast<TwitterApiAccount*>(theAccount);
KUrl url = account->apiUrl();
url.addPath( QString("/statuses/friends.xml") );
+ KUrl tmpUrl(url);
url.addQueryItem( "cursor", d->friendsCursor );
+ QOAuth::ParamMap params;
+ params.insert("cursor", d->friendsCursor.toLatin1());
KIO::StoredTransferJob *job = KIO::storedGet( url, KIO::Reload, KIO::HideProgressInfo ) ;
if ( !job ) {
kDebug() << "Cannot create an http GET request!";
return;
}
- job->addMetaData("customHTTPHeader", "Authorization: " + authorizationHeader(account, url, QOAuth::GET));
+ job->addMetaData("customHTTPHeader", "Authorization: " + authorizationHeader(account, tmpUrl,
+ QOAuth::GET, params));
mJobsAccount[job] = theAccount;
connect( job, SIGNAL( result( KJob* ) ), this, SLOT( slotRequestFriendsScreenName(KJob*) ) );
job->start();
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-01-17 0:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-17 0:09 [gentoo-commits] gentoo-x86 commit in net-im/choqok/files: choqok-1.1-twitter.patch Johannes Huber (johu)
-- strict thread matches above, loose matches on Subject: below --
2011-09-23 21:39 Andreas HAttel (dilfridge)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox