Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | OAuth sanity fix: Twitter-specific stuff should *not* be in lib/oauth.c. | Wilmer van der Gaast | 2010-05-02 | -52/+66 |
|\ | | | | | | | | | Somewhat intrusive, should've done this right immediately. :-/ | |||
| * | Save the credentials again. | Wilmer van der Gaast | 2010-05-01 | -0/+27 |
| | | ||||
| * | Cleaned up OAuth stuff: consumer key/secret should *not* be in lib/oauth.c. | Wilmer van der Gaast | 2010-05-01 | -52/+39 |
|/ | | | | | | Keep it in the Twitter module, and use the oauth_info struct through the whole session to keep all this together. | |||
* | NULL-initialize two vars that weren't and should. | Wilmer van der Gaast | 2010-04-30 | -1/+1 |
| | ||||
* | Valgrind-clean now. And decent handling of errors (wrong PIN). | Wilmer van der Gaast | 2010-04-27 | -1/+3 |
| | ||||
* | Valgrind cleanup. | Wilmer van der Gaast | 2010-04-27 | -6/+34 |
| | ||||
* | The escaping, I fixed it for you. More expensive code this way and most of | Wilmer van der Gaast | 2010-04-27 | -18/+23 |
| | | | | | the vars don't need escaping. But this shouldn't be so fragile anymore. | |||
* | Escaping in oauth_nonce(). Not sure if the escaping is entirely right ATM... | Wilmer van der Gaast | 2010-04-26 | -1/+6 |
| | | | | | :-( | |||
* | OAuth, it lives! | Wilmer van der Gaast | 2010-04-26 | -1/+13 |
| | ||||
* | Twitter module now generates authorize URLs. | Wilmer van der Gaast | 2010-04-26 | -4/+4 |
| | ||||
* | Moving two public OAuth functions into the header file. | Wilmer van der Gaast | 2010-04-26 | -16/+1 |
| | ||||
* | Successfully posted a tweet! | Wilmer van der Gaast | 2010-04-26 | -17/+23 |
| | | | | | | | | | | Twitter's tricky. It returns vars (user_id, screen_name) in the access token that, the way I read the spec, should be included in all subsequent queries. However, stuff only started to work when I dropped those vars. This code's definitely not pretty ATM. Need to clean up now that it actually works. | |||
* | Added a function that generates an OAuth Authorization: HTTP header. | Wilmer van der Gaast | 2010-04-26 | -13/+79 |
| | ||||
* | oauth_access_token() added. I managed to increase the counter on | Wilmer van der Gaast | 2010-04-25 | -4/+22 |
| | | | | | http://twitter.com/oauth_clients/details/127170 . \o/ | |||
* | Some HTTP stuff. Via gdb I can make this request a token. | Wilmer van der Gaast | 2010-04-25 | -6/+212 |
| | ||||
* | Code to calculate OAuth signatures. I hope that after wrapping my mind | Wilmer van der Gaast | 2010-04-25 | -0/+106 |
around all of this the rest is going to be easier.. |