mercredi 5 août 2015

Implementation of ZendTwitter Service


 $config = array(
            'access_token' => array(
            'token'  => 'twitter-access-token-here',
    'secret' => 'twitter-access-secret-here',
),
'oauth_options' => array(
    'consumerKey' => 'twitter-consumer-key-here',
    'consumerSecret' => 'twitter-consumer-secret-here',
),
'http_client_options' => array(
    'adapter' => 'Zend\Http\Client\Adapter\Curl',
    'curloptions' => array(
        CURLOPT_SSL_VERIFYHOST => false,
        CURLOPT_SSL_VERIFYPEER => false,
    ),
),
);

$twitter = new Twitter($config);

In which file I need to write this code in Zend Studio to implement twitter Service. Please help. I am new to zend. I have got this code in this link - http://ift.tt/1KPY1oF



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire