bitemyapp / bitemyapp/twitcurl
Patches for various fixes and additions
- Dominant language
- C
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
```
I started working on a project which uses twitcurl a few weeks ago.
In doing so, I made a number of changes to twitcurl, most of which I've
included here.
In reference to the patch file names:
ssl: Allows selection of either http or https in the same way as XML/Json can
be selected. The verifycred patch depends on this.
verifycred: Adds a method to call account/verify_credentials, this is useful
for getting user details following an OAuth authorisation without needing the
user to enter their username/id.
oauth-fix: At present the OAuth code includes all additional query fields used
to calculate the signature in the actual Authorization header. Twitter ignores
these but it's better to not send them.
This patch also fixes parsing of multi-field post data (needed for user
streams).
streamingapi: A somewhat bare-bones implementation of the user and public
streaming API.
async: Some code to make it less difficult to use twitcurl asynchronously.
misc: Fix ":" being sent to curl when the username and password are blank, and
NULL instead of "" being sent for the proxy parameter. These were causing
issues with SSL.
I've not really tested statuses/filter, however the other two streams work fine
and the code is largely identical.
So far I've only tested this on Windows.
No doubt there'll be some bug somewhere...
One thing I didn't include is fixes/replacements for statuses/public_timeline
and statuses/friends_timeline, which are now deprecated (the latter of which
has apparently been removed already), as I'm not sure about the compatibility
issues with existing code using the library.
Hope these are useful ^^
Regards,
Jonathan
```
Original issue reported on code.google.com by `j.g.renn...@gmail.com` on 23 May 2012 at 6:59
Attachments:
- [twitcurl-r80-verifycred.patch](https://storage.googleapis.com/google-code-attachments/twitcurl/issue-34/comment-0/twitcurl-r80-verifycred.patch)
- [twitcurl-r80-streamingapi.patch](https://storage.googleapis.com/google-code-attachments/twitcurl/issue-34/comment-0/twitcurl-r80-streamingapi.patch)
- [twitcurl-r80-ssl.patch](https://storage.googleapis.com/google-code-attachments/twitcurl/issue-34/comment-0/twitcurl-r80-ssl.patch)
- [twitcurl-r80-oauth-fix.patch](https://storage.googleapis.com/google-code-attachments/twitcurl/issue-34/comment-0/twitcurl-r80-oauth-fix.patch)
- [twitcurl-r80-misc.patch](https://storage.googleapis.com/google-code-attachments/twitcurl/issue-34/comment-0/twitcurl-r80-misc.patch)
- [twitcurl-r80-async.patch](https://storage.googleapis.com/google-code-attachments/twitcurl/issue-34/comment-0/twitcurl-r80-async.patch)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.