public function directMessagesShow($id) { // build parameters $parameters['id'] = (string) $id; // make the call return $this->doCall('direct_messages/show.json', $parameters, true); }
/** * Tests Twitter->directMessagesShow() */ public function testDirectMessagesShow() { $response = $this->twitter->directMessagesShow('264022285470547969'); $this->isDirectMessage($response); }