Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

FlickrFeed

NickENickE New
edited August 2006 in Vanilla 1.0 Help
FlickrFeed

Comments

  • How does this work?
    Where do i get the Flickr ID from
  • This is real nice, but you could perhaps add a link to http://idgettr.com/ on the Personal Information page so that noobs, idiots and generally most other people have an easy way to get their ID from! Took me 10 minutes to remember how to do that...
  • Nice find 3stripe :D That'll save people a whole hell of a lot of time. Perhaps idgettr.com could be integrated into it?
  • I replaced line 29 in default.php to include a link and more instructions on how to get your Flickr ID like this: $Context->Dictionary['CUSTOMIZATION_FLICKR_ID_DESCRIPTION'] = 'Display your most recent <a href="http://flickr.com/" target="_blank" title="Sign up for Flickr">Flickr.com</a> photos on your account page by entering your flickr user id. To find your Flickr ID go to <a href="http://idgettr.com/" target="_blank" title="Get my Flickr ID">http://idgettr.com</a> and enter your Flickr photostream url (ex. http://www.flickr.com/photos/myusername/)';
  • i think by integrating idgettr.com, [-stash-] meant the user could enter their photostream address; the extension would query idgettr.com, and put the flickr id in the textbox.
  • I just posted up a quick solution for those people that aren't that familiar with php. What you are talking about would require idgettr.com to open up some sort of API that the Vanilla extension could query or they would have to share their code. I haven't done a lot of research on this, but after an initial look around I didn't see that either of those options were available.
  • I just did a bit more research and found this page ttp://www.bornontheweb.be/2006/03/01/rest-web-service-a-flickr-tutorial that gives instructions on how to find the flickr id with the flickr username. However it looks like it does need to be updated as received the following error warning when trying the demo:

    Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of xml_set_object(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /home/.charm/sepperag/www.bornontheweb.be/tutorials/xml_parse.php on line 73

    If you just use this url format it does return an XML page with the correct flickr id
    [code]
    http://www.flickr.com/services/rest/?method=flickr.people.findByUsername&api_key=#Your Flickr API Key#&username=#Username#[/code]

    I'll look into it and see what I can figure out.
This discussion has been closed.