Morton Fox (mortonfox) wrote,
Morton Fox
mortonfox

Flickr group automation

West Meadow Beach

Had some errands planned in Park Ridge this evening but could only do two out of three of those because Motophoto closed earlier in the evening than I thought. However, I did get to use the free gas bonus from the credit card this evening. I ought to switch credit cards. There aren't enough conveniently-located Gulf gas stations around here where I can claim the free gas.

Then I went to Boston Market to use my business discount. (from work) The cashier informed me that the manager had taken it off the system, but he gave me the discount anyway. Which is very nice of him. So I had a chicken carver combo.

Also did a little scripting with the Flickr API this evening. I finally wrote a script to shuffle my photos into and out of views groups. (Those are Flickr groups where your photo has to have a views count within a certain range. I've joined about 30 of those at last count and I admin 5 of those.) I used to do that by hand but it was such a bother that I stopped for a while. It's so easy now that I wonder why I didn't write that script earlier. As in many other things in life, it takes a bit of time and effort now to save a lot of time and effort in the future. Unfortunately, that bit of time and effort can be hard to come by. As per policy, I'll use this script on my own for some time before posting the code in case there are serious bugs. Some older scripts are already up at randomfox.

Incidentally, there appears to be a bug in the Flickr API. If the script tries to add a photo to a group when it has already hit the posting limit, the flickr.groups.pools.add API call returns error code 96 (Invalid signature) instead of 5 (Photo limit reached). As a workaround, I changed the script to check for error 96. I suppose that would be a problem if the signature really was invalid, so I'll have to make sure that the signature is valid beforehand. :)





From thefridayfive:

1. If you were a fruit, which would you be and why?
Oh, that could be taken a number of different ways. :)

2. If you wake up and smell smoke, and you have to get everybody (pets included) out of the house safely, but you have time to grab one item, what would you grab?
The item that is smoking, so I can throw it out.

3. If you were stuck on an island, who would be the one person you would want with you and why?
Someone with a helicopter, except Bernanke.

4. If you could change one thing about your physical appearance, what would it be?
I rather fancied being a gas cloud being floating over Jupiter.

5. If you could spend the day with one famous person, dead or alive, who would you choose?
Schrodinger's cat. It is dead or alive.

From fridayfiver:

1. What is your local lake/river/sea?
Saddle River, which overflows every time we have rain.

2. Do you believe in dragons and unicorns?
No, but sometimes I am a unicorn. In costume, that is.

3. What is your favorite fruit?
Asian pears, when I can get those.

4. Do you smoke?
No.

5. Friday fill-in:
Together they would _____ .
... annihilate and produce neutrinos.
Subscribe

  • Virtual Conventions

    The COVID-19 pandemic has forced a number of furry conventions to cancel this year due to state and local emergency regulations and also out of…

  • FA United 2019

    Last weekend was FA United 2019 in Northern Virginia. That was my fourth and last furry convention for the year. It'll be hard to cut one convention…

  • Metro Gathering 2019

    The last few years, Metro Gathering was in October and had a Halloween theme. This year though, the geocaching mega event is in September and has a…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 2 comments