-1
$twitter = new Zend_Service_Twitter('myusername', 'mypassword');
$response = $twitter-> ?????????;

Naybosy cna elp

Blazemonger
  • 90,923
  • 26
  • 142
  • 180
zeezoo
  • 1
  • 2

2 Answers2

0

Twitter have disabled basic authentication and Zend Framework updated their library accordingly to use OAuth.

You'll need to consult the current documentation for Zend_Service_Twitter and make changes to your code.

David Snabel-Caunt
  • 57,804
  • 13
  • 114
  • 132
0

Saying twitter doesn't do images is incorrect, they added their own image upload service as part of an update in June 2011 and also store references to all images uploaded by the user using third party applications.

You can see this by looking the urls: https://twitter.com/#!/<twitter-username>/media/grid

But Zend framework currently doesn't offer an easy way to grab these. I am looking to do this myself and thinking I will combine the Zend twitter search functionality along with looking at the parameters for entities and media within the twitter api docs:

http://framework.zend.com/manual/en/zend.service.twitter.html#zend.service.twitter.search

https://dev.twitter.com/docs/tweet-entities

I will post back if I do this anytime soon with a link to the code.

raymosley
  • 643
  • 5
  • 3