Pretty straightforward, map out all of the twitter list functions to functions in the API, found here: https://dev.twitter.com/docs/api/1.1#99

Did some initial work for things I needed, but I haven't mapped them all out as I had no use cases for testing to make sure everything was hooked up right. If someone else wants to continue off of my work, that'd be awesome.

Comments

wbobeirne’s picture

Status: Active » Needs work
StatusFileSize
new10.39 KB

Attaching patch. Forgot to mention that this patch also adds some things that I needed for my use cases to the status object. Sorry for it being kind of out-of-place.

mfb’s picture

This is great, I was just working on a similar patch.

Shouldn't pluralization in a method name match the API endpoint? I.e. if the API is 'lists/statuses' then method would be lists_statuses()?

wbobeirne’s picture

Glad it's helpful mfb. I leave that decision to someone with more involvement in this project, but I see what you mean.

damienmckenna’s picture

Issue summary: View changes
Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, 1: twitter-lists-api-2028245.patch, failed testing.

damienmckenna’s picture

Status: Needs work » Needs review
StatusFileSize
new10.18 KB

Rerolled.

damienmckenna’s picture

Status: Needs review » Needs work

Status: Needs work » Needs review
damienmckenna’s picture

Status: Needs review » Needs work

@wbobeirne: Did you forget to include part of the patch? There's no definition for the TwitterLists class but it's used in the get_lists() method.

damienmckenna’s picture

StatusFileSize
new9.67 KB

Here's a 7.x-6.x version of the patch.

damienmckenna’s picture

Status: Needs work » Needs review
damienmckenna’s picture

Status: Needs review » Needs work

The last submitted patch, 10: twitter-n2028245-10-7.x-6.x.patch, failed testing.

damienmckenna’s picture

Version: 7.x-5.x-dev » 7.x-6.x-dev
Status: Needs work » Needs review