-
Install this plugin for your CakePHP app.
AssumingAPP
is the directory where your CakePHP app resides, it's usuallyapp/
from the base of CakePHP.cd APP/Plugin git clone git://github.com/LubosRemplik/CakePHP-Twitter-API-Plugin.git Twitter
-
Install required plugins with all dependcies and configuration Opauth
-
Connect twitter's account with your application http://example.org/auth/twitter
-
Include needed model in your controller or anywhere you want to
$uses = array('Twitter.TwitterStatuses'); ... $data = $this->TwitterStatuses->homeTimeline(); debug ($data);
$data = ClassRegistry::init('Twitter.TwitterStatuses')->homeTimeline(); debug ($data);
Not available, but similar plugin and sample has CakePHP Google API Plugin.