You aren't signed in     Sign In    Help

Flickr Pipes / Discuss

Current Discussion

Pipe: Flickr – Group pool photostream
Latest: 59 minutes ago
A pipe to find out who has not contributed to a group
Latest: 4 weeks ago
User/Tag Feed Re-sizer
Latest: 5 weeks ago
Screenshots&Illustration
Latest: 5 weeks ago
Pipe: Flickr group-pool top contributors
Latest: 5 weeks ago
Pipe: Flickr user photostream
Latest: 2 months ago
Exporting and importing contacts between 2 accounts
Latest: 2 months ago
group pool rss -- date submitted
Latest: 2 months ago
MagpieRSS and thumbnail
Latest: 3 months ago
Pipe: Flickr photoset (updated @ 2008-04-27)
Latest: 3 months ago
Flickr Group syndication
Latest: 3 months ago
Flickr geofeed with BBOX
Latest: 4 months ago
More...
spacer image

Pipe: Flickr relationships (updated @ 2008-04-16)

view profile

alto maltés is a group administrator alto maltés  Pro User  says:

Using this application, you may list your contacts with whom you have a specific (mutual) relationship. For example, you may want to see who of your friends has marked you as a friend, or rather who of your contacts does not list you as a contact, etc.

Run the application.

The first time, you will have to grant “read” permission to the application. This permission may be revoked at any time.

Y! Pipe: My Flickr relationships


Technical info

This Pipe makes authenticated calls to the Flickr API. By following the login link, a user is presented with the Flickr sign-in prompt. Just the first time, the user will be asked to grant “read” permissions to the Pipe. Once the user is signed into Flickr and grants the permission, he is redirected to the Pipe. Flickr passes a frob as a parameter to the Pipe.

The Pipe calls flickr.auth.getToken to convert the frob into a token, which it then uses to fetch the calling user's contact list by calling flickr.contacts.getList. The list is filtered so that only contacts with whom the user has a specific forward relationship are allowed to flow through.

However the response of flickr.contacts.getList does not contain information about the reverse relationship of a user with a contact. This information is obtained by making an authenticated call to flickr.people.getInfo for every contact, using the same authentication token generated earlier. The list is then filtered so that only contacts with whom the user has a specific reverse relationship are allowed to flow through.

The calls to flickr.auth.getToken, flickr.contacts.getList and flickr.people.getInfo must be signed. Signing a request involves adding an api_sig parameter to its URL. The computation of this parameter's value necessitates the computation of an MD5 hash. Since such a function is not provided natively by Yahoo! Pipes, the computation is delegated to a the HashServer web service providing this function.

This Pipe also implements a primitive form of “error handling”. If the call to flickr.auth.getToken fails (typically due to an expired frob), the user is presented with a single item that links to the login page. Following this link will generate a “fresh” frob, and re-run the Pipe.

Y! Pipe: My Flickr relationships
Originally posted at 9:46AM, 8 July 2007 PDT ( permalink )
alto maltés edited this topic 5 months ago.

view photostream

rodto  Pro User  says:

Thank you for creating this, it's an extremely useful pipe. I am endorsing it on my flickr page if it is ok!
Posted 14 months ago. ( permalink )

view photostream

alto maltés is a group administrator alto maltés  Pro User  says:

Great!
Please link to here if possible…
Posted 14 months ago. ( permalink )

view photostream

alto maltés is a group administrator alto maltés  Pro User  says:

The FlickrHacks discussion continues here…
Posted 14 months ago. ( permalink )

view photostream

alto maltés is a group administrator alto maltés  Pro User  says:

Lynn Morag, I am still experimenting with this pipe, so be patient :)

For the time being open the next page by typing it in the "Page:" box and re-running the pipe.

The last "Info" item on every page will tell you e.g. "Page 3 has 30 contacts, 13 of which satisfy the filtering criteria". Sometimes you will see no contacts on the page. If you get "Page 4 has 30 contacts, 0 of which satisfy the filtering criteria", that does not mean that you have searched all the contacts, so try the next page.

You will know that you searched all the contacts when you get e.g. "Page 6 has 0 contacts…"

If you get an error at any time, click on the link to restart the pipe, and then manually enter into the page box the page number where you had arrived, and re-run.

Thanks.
Originally posted 14 months ago. ( permalink )
alto maltés edited this topic 14 months ago.

view photostream

birdyboo  Pro User  says:

alto maltés Thank you so much! I tried this morning and couldn't get it to work but this afternoon after only one false start, it ran through my contact list flawlessly and found the 2 I know don't have me as a contact.

This is very much like real plumbing experiences for me. ;) But I'm looking forward to learning more about Pipes through your great examples.
Posted 14 months ago. ( permalink )

view photostream

alto maltés is a group administrator alto maltés  Pro User  says:

birdyboo, richard_in_vegas, great! Thanks.
Posted 14 months ago. ( permalink )

view photostream

thincvox  Pro User  says:

alto, this is absolutely amazing, great work!
- daniel (from the pipes team)
Posted 14 months ago. ( permalink )

view photostream

alto maltés is a group administrator alto maltés  Pro User  says:

thincvox, thank you very much.
Actually you are doing the great work… and I am building on it :)
Posted 14 months ago. ( permalink )

view photostream

Pixel Wrangler  Pro User  says:

Alto, this is brilliant !
I haven't a clue how it works ;-) ... but I love that it does work -- and I thank you for it,
Posted 12 months ago. ( permalink )

view photostream

kkalyan  Pro User  says:

I thought its not possible for pipe to use flickr auth api.
thanks for showing the way !
Posted 12 months ago. ( permalink )

view photostream

alto maltés is a group administrator alto maltés  Pro User  says:

Pixel Wrangler, hehe, you're welcome :)

kkalyan, everything is possible, and you're welcome too :)
Posted 12 months ago. ( permalink )

view photostream

Pacdog  Pro User  says:

Alto? Your icon scares me, but this pipe rocks! Thanks dude!

=o))
Posted 11 months ago. ( permalink )

view photostream

alto maltés is a group administrator alto maltés  Pro User  says:

Cheers.

Haha! Scares you!?
Posted 11 months ago. ( permalink )

view photostream

sunsurfr  Pro User  says:

Hello Alto. This is a pipe that would be extremely handy for me. However, when I run it, I receive:

Page 1 contains 0 contacts, 0 of which satisfy all filtering criteria. Extra info passed is "Leave this blank".

I have a frob in and have changed the user variables to see if that helped. Since I am just a user rather than a pipe builder I guess I am doing something wrong. I have also revoked and re authorized the pipe in case there was something wrong with the authorization. Any ideas would be very helpful.

Thanks in advance.
Posted 6 months ago. ( permalink )

view photostream

alto maltés is a group administrator alto maltés  Pro User  says:

sunsurfr, thanks for notifying me. It’s not working for me neither. I’ll have a look…
Posted 5 months ago. ( permalink )

view photostream

alto maltés is a group administrator alto maltés  Pro User  says:

sunsurfr, on the way…
Posted 5 months ago. ( permalink )

view photostream

alto maltés is a group administrator alto maltés  Pro User  says:

This Pipe now works again (and supposedly better). I’ll be updating the documentation soon…

Thanks!
Posted 5 months ago. ( permalink )

view photostream

alto maltés is a group administrator alto maltés  Pro User  says:

I plan to add the possibility to further filter the contacts by the number of photos they have uploaded, and by their location, and by whether they have a buddy-icon or not. I think these would be useful criteria to filter on.

Any more suggestions?
Originally posted 5 months ago. ( permalink )
alto maltés edited this topic 5 months ago.

Would you like to comment?

Sign up for a free account, or sign in (if you're already a member).

RSS 2.0 feedSubscribe to a feed of stuff on this page...</!!> Feed – Subscribe to Flickr Pipes discussion threads
Add to My Yahoo!