Search the web
Sign In
New User? Sign Up
plazesapi
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
How to "befriend" using the API   Message List  
Reply | Forward Message #100 of 236 |
Re: [plazesapi] How to "befriend" using the API

* Peter Rukavina <peter@...> [20080106 18:12]:
> It seems that it's possible to "befriend" another Plazes user, if you
> have their Plazes user {id}, by:
>
> curl -u 'bob:secret' http://plazes.com/relationships.xml -d
> "relationship[contact_id]={id}"
>
> The return, on successful request, looks like this:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <relationship>
> <id>{id}</id>
> <contact>
> <id>{id}</id>
> </contact>
> </relationship>
>
> If you've already sent a friend request, the return is:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <errors>
> <error>Contact has already been taken</error>
> </errors>

Right.

It is deliberately not part of the published API because we didn't
want to commit to that specific interface, and given the recent
changes on the website regarding renaming 'contacts' to 'friends' it
may change in the future, so please do not rely on it.

Also we were not sure wether it makes sense to completely expose the
friendship creation process of Plazes via the API or wether it is
something that we want the user to use the website for. I guess it
could be added to the API if there is demand for it.


Til





--
http://plazes.com/whereis/til | +49 176 20 19 51 69 | http://tils.net



Mon Jan 7, 2008 11:43 am

tilz3000
Offline Offline
Send Email Send Email

Forward
Message #100 of 236 |
Expand Messages Author Sort by Date

It seems that it's possible to "befriend" another Plazes user, if you have their Plazes user {id}, by: curl -u 'bob:secret' http://plazes.com/relationships.xml...
Peter Rukavina
reinventedpei
Offline Send Email
Jan 6, 2008
5:15 pm

... Right. It is deliberately not part of the published API because we didn't want to commit to that specific interface, and given the recent changes on the...
Tilmann Singer
tilz3000
Offline Send Email
Jan 7, 2008
11:43 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help