Hi Simon,
Glad it helped... I meant to make this point clear in the
authentication
tutorial but I haven't got round to writing that yet... I'll
try and add
a note somewhere on the site...
Cheers,
Kelvin
Simon Richardson wrote:
> Hi Kelvin,
>
> It turns out it was you p.s. that fixed it!
> I can't believe I missed this, any chance you putting
this on your site
> in big bold colours to prevent other people going
mental like me :P
>
> cheers for the help by the way!
>
> si
>
> On 10 Oct 2007, at 18:50, Kelvin Luck wrote:
>
>> Hi Simon,
>>
>> Sorry for the slow response - I was waiting until I
had a chance to pull
>> out an example app I wrote a while back... It is
called "Authorisr" and
>> I built it ages ago for a client to be able to
generate the
>> authorisation token which they put into their app
so that their app
>> could remain authorised as them.
>>
>> You can find the source files here:
>>
>> htt
p://flashr.kelvinluck.com/assets/Authorisr.zip
>>
>> (you'll need to link the fla into the latest
version of Flashr through
>> publish settings or copy the Flashr source into
your source path).
>>
>> The flow in the code should show you how to
authorise against flickr.
>> I've added in a call to an method which requires
authentication to make
>> sure it's working OK.
>>
>> If you still have any problems then just let me
know,
>>
>> Cheers,
>>
>> Kelvin
>>
>> p.s. You have set your application up as a
"Desktop application" on
>> flickr, right? The general flow is described here:
>> http://www.flickr.com/services/api/auth.howto.desktop.
html
>>
>> Simon Richardson wrote:
>>> Hi all!
>>>
>>> I've been using the flashr to try and get a
users photos, by a user
>>> entering their name in flash. It opens up the
separate window for the
>>> user to authenticate the application in flickr
and then returning a
>>> frob. This works well, except my frob in flash
has problems as it's
>>> different from the callback url frob from
flickr. Now if i test the
>>> flash response frob it's invalid, but if i test
the callback url frob
>>> from flickr then that one passes. So I'm
guessing that the second
>>> frob (the callback url) is overwriting the
flash frob making it invalid?
>>>
>>> I've tried to prevent the callback url from
working in flickr, so it
>>> doesn't create a new frob but then that doesn't
work (in other words
>>> I can stop it to do that)!
>>> I can't tell flash to use the call back url as
it get passed in
>>> another browser window and plus I don't want to
reload flash once I
>>> try and grab that frob...
>>>
>>> Am I doing something wrong, I have looked at
the previous version of
>>> the authenticate flash app, but is in legacy
code...
>>>
>>> any help would be greatly appreciated!
>>> si
>>>
>>>
>>>
_______________________________________________
>>> Flashr mailing list
>>> Flashr osflash.org <mailto:Flashr osflash.org>
>>> http://osflash.org/mailman/listinfo/flashr_osflash.org
>>
>> _______________________________________________
>> Flashr mailing list
>> Flashr osflash.org <mailto:Flashr osflash.org>
>> http://osflash.org/mailman/listinfo/flashr_osflash.org
>>
>
>
>
> Simon Richardson
>
>
> magneticNorth
> 101 princess street, manchester, m1 6dd
>
> t +44 (0)161 228 7171
> www.magneticN.co.uk
>
>
-----------------------------------------------------------
>
> This e-mail and any files transmitted with it are
confidential and/or
> legally privileged and intended solely for the use of
the individual or
> entity to whom they are addressed. If you are not the
addressee
> indicated in this e-mail (or responsible for the
delivery of the e mail
> to such person) be advised that you have received this
e-mail in error,
> and that any use, dissemination, forwarding, printing,
or copying of
> this e-mail is strictly prohibited. If you have
received this e-mail in
> error please notify the sender by reply e-mail and then
immediately
> permanently delete it and all copies from your system.
Whilst we
> maintain virus checks, we accept no liability for
viruses introduced
> from this e-mail.
>
> Magnetic North Interactive Limited - Company
registration number 4033128
> - Registered in England and Wales.
>
>
>
>
>
------------------------------------------------------------
------------
>
> _______________________________________________
> Flashr mailing list
> Flashr osflash.org
> http://osflash.org/mailman/listinfo/flashr_osflash.org
_______________________________________________
Flashr mailing list
Flashr osflash.org
http://osflash.org/mailman/listinfo/flashr_osflash.org
|