diff --git a/README.md b/README.md index bfee47b..111cbb7 100644 --- a/README.md +++ b/README.md @@ -25,20 +25,12 @@ create blew composer.json on your project directory and execute ``composer insta /path/to/project/composer.json { - "repositories": [ - { - "type": "vcs", - "url": "https://github.com/makotokw/php-twient" - } - ], "require": { "makotokw/twient": "dev-master" } } - - Get timeline ---------------------------------------------------- diff --git a/src/Twient/Twitter/V1dot1.php b/src/Twient/Twitter/V1dot1.php index 9ab0207..db40eb7 100644 --- a/src/Twient/Twitter/V1dot1.php +++ b/src/Twient/Twitter/V1dot1.php @@ -121,6 +121,16 @@ public function statusesOembed($params = array()) return $this->get('statuses/oembed', $params); } + /** + * @param array $params + * @return array + * @see https://dev.twitter.com/docs/api/1.1/get/statuses/retweeters/ids + */ + public function statusesRetweetersIds($params = array()) + { + return $this->get('statuses/retweeters/ids', $params); + } + /** * @param array $params * @return array @@ -791,6 +801,16 @@ public function listsMembersDestroyAll($params = array()) return $this->post('lists/members/destroy_all', $params); } + /** + * @param array $params + * @return array + * @see https://dev.twitter.com/docs/api/1.1/get/lists/ownerships + */ + public function listsOwnerships($params = array()) + { + return $this->get('lists/ownerships', $params); + } + /** * @param array $params * @return array