Not signed in (Sign In)
Welcome, Guest

Did you know that there is a whole world of functionality you're not seeing? If you have an account, sign in now.

If you don't have an account, apply for one now.

Bottom of Page
phpFlickr Features: Things to look for while moving to phpFlickr 2.0.0
  1.  
1 to 6 of 6
Oct 1st 2006
I'm pushing out an update for my mini web-app in a couple of days, and I thought I'd throw in the latest version of phpFlickr to see if it would just work or if Dan was right and it'd break.

Of course, Dan was right, and everything broke.

So Dan, I (but surely more than just myself) am curious what kind of things we should expect to break; app developers, what are some things you've run into and how have you fixed them?
-Chasen
Oct 5th 2006
i had to change two things:

- $reltags = $f->tags_getRelated($tag["_value"]);
+ $reltags = $f->tags_getRelated($tag["_content"]);

- $nsid = $f->people_findByUsername($username);
+ $result = $f->people_findByUsername($username);
+ $nsid = $result["id"];

hth
--sean
Oct 6th 2006 edited
Thanks Sean, that helped a tremendous amount.

Here's a list of other functions that I've had problems with:

  • tags_getListUserPopular()

  • photosets_comments_getList()

  • photos_comments_getList()

  • photos_getSizes()


I'll continue to post as I find changes. I hope this list helps others.
-Chasen
Oct 8th 2006 edited
Here are some more:

  • photos_licenses_getInfo()

  • tags_getListUserPopular()

  • tags_getListUser()


Those are all of the ones that I found. Thanks again Sean for getting me started.
-Chasen
Oct 21st 2006
+ people_getUploadStatus

For instance to get the max bandwidth and the current use bandwidth :

$stat=$f->people_getUploadStatus($userId);

$max=$stat['bandwidth']['max'];
$current=$stat['bandwidth']['used'];
Dec 7th 2006 edited
I think that...
$stat=$f->people_getUploadStatus();

...will work fine. I did not need to pass any user information to the function.
  1.  
1 to 6 of 6
Top of PageBack to discussions