Skip to content

Instantly share code, notes, and snippets.

@diorahman
Created May 11, 2012 15:48
Show Gist options
  • Save diorahman/2660554 to your computer and use it in GitHub Desktop.
Save diorahman/2660554 to your computer and use it in GitHub Desktop.
request
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
QString consumerKey("W3f50lSJiI00CDVg6UwhxQ");
QString consumerSecret("CHPWgrNu1wanwvSXax3b7FQarXBgVeZXUFysD4yZKXg");
OAuth * o = new OAuth(
consumerKey,
consumerSecret,
"222985359-doXx8xsjENAgGsFBBTt9JjHCxuoXNb45Kd1RnGoh",
"pjm6uDyALRIXsyN0ZHQo3Rz5R7UzXd932O8Lq20aE",
"",
qApp);
o->resource("https://api.twitter.com/1/account/verify_credentials.json", "GET");
return a.exec();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment