Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Entire forum
➜ Programming
➜ General
➜ Using cURL+OAuth in C
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Syriac
(46 posts) Bio
|
Date
| Mon 13 Dec 2010 02:08 PM (UTC) |
Message
| Hey all - I've been awake for about 6 hours longer than I had planned attempting to work on this project. Essentially what I was trying to do was integrate the twitter API into my MUD so certain events could be tweeted automatically from the game; it took me about 30 minutes to figure out curl with the basic auth only to discover twitter disabled this method. So I signed up, got my tokens and now I have no flippin clue how to authenticate them using curl. I've seen many php examples but they all seem very messy and I cannot seem to find anything for C. Has anyone messed around with this before? | Top |
|
Posted by
| Nick Cash
USA (626 posts) Bio
|
Date
| Reply #1 on Mon 13 Dec 2010 02:52 PM (UTC) Amended on Mon 13 Dec 2010 02:55 PM (UTC) by Nick Cash
|
Message
| This sounds like a neat idea, though I must admit I haven't played with it. Twitter did have a link to this open source library that may help you with authentication:
http://liboauth.sourceforge.net/
[Edit]
This may also be helpful, though it says it is C++ based:
http://code.google.com/p/twitcurl/ |
~Nick Cash
http://www.nick-cash.com | Top |
|
Posted by
| Syriac
(46 posts) Bio
|
Date
| Reply #2 on Sat 18 Dec 2010 02:40 AM (UTC) |
Message
| Figured out a work around --
http://twitter.com/ros_mud
Using Curl and in conjunction with http://www.supertweet.net/ worked! | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
14,002 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top