Jump to content

Zend Oauth Problems


selenin

Recommended Posts

I try to modify a twitter application, but I have no idea what I'm doing, this is my code so far:

 

    require 'Zend/Oauth/Consumer.php';
    
    
    $token = unserialize($usersClass->twitterToken()); 

		if(!empty($token)) {

		 $client = $token->getHttpClient($config);
             $client->setUri('http://twitter.com/users/profile_image/twitter.json');
         $client->setParameterGet('screen_name', $screen_name);
             $client->setMethod(Zend_Http_Client::GET);
             $response = $client->request();
		}

 

I want to get the twitter profile image, but I think it's too difficult for me... :shrug:

Link to comment
https://forums.phpfreaks.com/topic/226909-zend-oauth-problems/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.