cloverstudio / Spika-Server

Server backend system for Spika
MIT License
139 stars 125 forks source link

Add Twitter API in spika #86

Open toc123 opened 9 years ago

toc123 commented 9 years ago

How I can integrate twitter api in spika,

Iam using code in one of my controller

private function setuptesttwitterMethod($self,$app,$controllers) {

    $controllers->get('/testtwitter',
        function () use ($app,$self) {

        //include_once '';
            require_once __DIR__.'/../twitter_src/twitteroauth.php';
            require_once __DIR__.'/../twitter_src/TwitterAPIExchange.php';

}

But Its deos not show any result

jaullo commented 9 years ago

Hello @toc123 could you integrate the api?