次の方法で共有


How to find author from Flickr URL with Small Basic

I sometimes upload my program screen shots with Flickr pictures.  At that time, I always check the copyright of each picture.

For that purpose I wrote a sample program to get original URL from return value of Flickr object.

There are two ways to get original URL.  The first way using short URL is described in Flickr site.  Flickr.GetPictureOfMoment() or Flickr.GetRandomPicture() returns following format of URLs.

https://farm{farm-id}.static.flickr.com/{server-id}/{photo-id}_{secret}.jpg

And from photo id, short URL can be calculated like:

https://flic.kr/p/{base58-photo-id}

This short URL will jump to the original Flickr URL for the picture.

The second way is to use following format with the photo id described above.  This information is from a blog Bram.us.

https://flickr.com/photo.gne?id={photo-id}

The sample program for both way is uploaded as NLM548.

Have fun through Small Basic programming!

See Also

Other Resources

Comments

  • Anonymous
    January 20, 2018
    gr8 nonki!updated a bit: NLM548-1-displays pic in gw-copies data to clipboard
    • Anonymous
      January 20, 2018
      Thanks Tryhest
  • Anonymous
    January 20, 2018
    I wrote a TechNet Wiki article about Flickr photo ID.https://social.technet.microsoft.com/wiki/contents/articles/51087.small-basic-sample-flickr-photo-id.aspx