Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.6.0

Bug #10062 getAllPosts() should be able to get a tag parameter
Submitted: 2007-02-09 11:43 UTC
From: akky at php dot net Assigned:
Status: Bogus Package: Services_Delicious (version 0.5.0)
PHP Version: 5.2.0 OS: Windows XP Professional SP2
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 41 - 10 = ?

 
 [2007-02-09 11:43 UTC] akky at php dot net (Hiroki Akimoto)
Description: ------------ Del.icio.us API allows 'tag' parameter for 'posts/all' action like this (You need to log in del.icio.us to check), https://api.del.icio.us/v1/posts/all?tag=php However, current 0.5.0's member function getAllPosts() accepts no parameters. Test script: --------------- require_once 'Services/Delicious.php'; $dlc = &new Services_Delicious('username', 'password'); $result = $dlc->getAllPosts('php'); var_dump($result); Expected result: ---------------- array(6) { [0]=> array(6) { ["href"]=> string(53) ... array of matched URL info ... } Actual result: -------------- All registered URLs on del.icio.us account are returned.

Comments

 [2008-03-05 17:44 UTC] amir (Amir Mohammad Saied)
You may use getPosts() method, it accepts both tags and date parameters, getAllPosts() as it's name suggests is for retrieving all posts, but if you need to fetch particular posts, getPosts() is the way to do it.
 [2008-03-10 03:01 UTC] akky (Hiroki Akimoto)
Sorry, I overlooked that function.