Home » Web Services » Services_Delicious » Bug #10062
getAllPosts() should be able to get a tag parameter
Details
| Submitted | 2007-02-09 11:43 UTC |
|---|---|
| From | akky at php dot net |
| Status | Bogus |
| Package | Services_Delicious |
| PHP Version | 5.2.0 |
| OS | Windows XP Professional SP2 |
| Roadmaps | (Not assigned) |
Comments
[2007-02-09 11:43 UTC] akky at php dot net
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.