List Info

Thread: API for getting "Guest Pass" (guest pass link) ?




API for getting "Guest Pass" (guest pass link) ?
country flaguser name
United States
2008-03-18 06:07:41

Hello,

I searched but found no api function to build a link to share my
photoset using a guest pass.

I mean, what the "GET THE LINK" button does on this page:
http://www.flickr.com/photos/&lt;your flickr name>/sets/<your flickr set
id>/share?send=1

Are you planning to have such a function? Would it be possible?

Thanks,
parhuzamos

__._,_.___
.

__,_._,___
Re: API for getting "Guest Pass" (guest pass link) ?
country flaguser name
United States
2008-06-08 04:46:50

So, I found that two days ago (it's undocumented AFAIK):
(sensitive information replaced by "xxx&quot;)

POST /services/rest/ HTTP/1.1
Accept: */*
Accept-Language: en,hu;q=0.5
Referer: http://flickr.com/services/rest/
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)
Host: flickr.com
Content-Length: 257
Pragma: no-cache
Connection: keep-alive

api_sig=xxx
set=xxx
is_friend=1
is_family=1
is_private=1
method=flickr.sharing.createGuestpass
src=js
api_key=xxx
auth_hash=xxx
auth_token=
cb=xxx

It works fine, the method shares your set, giving a guest pass URL to
the set. Multiple calls give multiple URLs.
The "src=js" was not necessary.
For the list of your guest passes go:
http://flickr.com/invite/history/guests/

Bye,
parhuzamos

--- In yws-flickr%40yahoogroups.com">yws-flickryahoogroups.com, "parhuzamos BencE"; <parhuzamos...>
wrote:
>
&gt; Hello,
&gt;
> I searched but found no api function to build a link to share my
> photoset using a guest pass.
>
> I mean, what the "GET THE LINK" button does on this page:
&gt; http://www.flickr.com/photos/&lt;your flickr name>/sets/<your flickr set
> id>/share?send=1
>
> Are you planning to have such a function? Would it be possible?
>
> Thanks,
> parhuzamos
>

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )