compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (10)

View Page History
$log->getTitle();
$log->getType(); //public or private
$log->isPrimary();

if($log->getType() == 'public'){
//methods specific to public tumblelogs only
$log->getUrl();
$log->getAvatarUrl();
$log->isPrimary();
}

//multiple sizes of the photo post.
foreach ($post->getPhotos() as $photo) {
$photo->getMaxWidth();
$photo->getUrl();
$photo['maxWidth'];
$photo['url'];
}
}
{code:php}
/**
* Does not require authentication necessarily, but limited to certain data
* ex. $tumblr = new Zend_Service_Tumblr(); is fine.
**/

/**
* To retrieve attributes only available in authenticated tumblelogs when a tumblelog instance already exists and $tumblr was
* instantiated with no authentication parameters.
* See use case labeled "Retrieving tumblelog attributes" for those methods.
* Not authenticated tumblelog access can only retrieve:
* name
* timezone
* title
* description
**/
$tumblelog->authenticate($email, $password);
//now you can run methods only available to account holder from this point.
//ex.
$tumblelog->getAvatarUrl();

/**
* See use case labeled "Retrieving tumblelog attributes" for methods for authenticated tumblelog retrievals.
**/

//Feeds imported to tumblelog
if($tumblelog->feedsExist()){
foreach($tumblelog->getFeeds() as $feed){