Monday, September 13, 2010

OAuth support for twitCurl

The twitCurl twitter API library now supports OAuth authorization methods for twitter! Check out project wiki page for more information on twitCurl OAuth flow:

Labels: , , ,

4 Comments:

Blogger MechaBouncer said...

Thank you! You're a life-saver! I can't believe how little support there is for OAuth in Twitter C++ libraries. This is exactly what I was looking for.

3:51 AM  
Blogger 발바리 said...

This comment has been removed by the author.

1:13 PM  
Blogger 발바리 said...

I used twitcurl lib.

and operate almost well.

but, The error occurs, when I use Direct Message.

The lower part is the source.

===================== source begin =====================
// direct_message
char DirectMsg[1024];
memset( DirectMsg, 0, 1024 );

printf( "\nEnter a new direct message: " );
gets( DirectMsg );
tmpStr = DirectMsg;

char receiveUser[1024];
memset(receiveUser, 0, 1024);

printf( "\nEnter a receive user: " );
gets( receiveUser );
tmpStr1 = receiveUser;

if( twitterObj.directMessageSend(tmpStr1, tmpStr, false) )
{
twitterObj.getLastWebResponse( replyMsg );
printf( "\ntwitterClient:: twitCurl::directMessageSend web response:\n%s\n", replyMsg.c_str() );
}
else
{
twitterObj.getLastCurlError( replyMsg );
printf( "\ntwitterClient:: twitCurl::directMessageSend error:\n%s\n", replyMsg.c_str() );
}

===================== source end =====================

error messgae : Incorrect signature

How do I fix the source?

Please let me know the solution.

Thank You.

1:18 PM  
Blogger Felix said...

Is there support for OAuth in the linux version of twitCurl? I don't seem a Makefile present for the latest version of twitCurl that supports OAuth. Does one exist?

9:59 PM  

Post a Comment

<< Home