osdir.com
mailing list archive
Mozy Online Backup: 2GB Free. Automatic. Secure.

Subject: Missing signature Error suddenly...It was working fine for more then 6 month - msg#00109

List: web.flickr.api

Date: Prev Next Index Thread: Prev Next Index
Hi,
Today suddenly i get this get on my site....i can download flickr
photos to my site..neither upload photos.

Although the code was working fine for more then 6 months now....

96 Invalid signature
token: 418456-5e33e92b6c519430
<?xml version="1.0" encoding="utf-8" ?>
<rsp stat="fail">
<err code="97" msg="Missing signature" />
</rsp>

has the apikey expired....or whats the problem....Pls help....

-Praveena







Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/yws-flickr/

<*> To unsubscribe from this group, send an email to:
yws-flickr-unsubscribe-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/







Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: how do I upload a picture with XML-RCP and java

Yes, thank you Sam, that improves my understanding: 1) Is it like: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>Title</title> </head> <body> <h1>Hallo</h1> <form action="http://api.flickr.com/services/upload/" method="post" enctype="multipart/form-data"> <input type="file" name="c:/myphoto.jpg" /> <input type="title" name="My Photo" /> <input type="is_public" name="1" /> <input type="is_friend" name="1" /> <input type="submit" value="los" /> </form> </body> </html> What can I do, if I only have the bytes or an java InputStream of the file? How can I post it? And how can I do it without any user action? 2) My problem is the '@lt;' must I convert this into '<' before I give it to the DOM Object? --- In yws-flickr-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx, "Sam Judson" <sam@...> wrote: > > 1) > > The uploading of photos is done via a HTTP POST using form variables. It > is a seperate procedure from all other API method calls (i.e. its not > XML-RPC, SOAP or REST). > > See: http://www.flickr.com/services/api/upload.api.html > > 2) > > With XML-RPC the response is contained within on big string. So your DOM > object will have to read "//methodResponse/params/param/value/string" and > then load this string (which in itself is another XML fragment) into > another DOM parser. > > I hope that helps. > > Sam > Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/yws-flickr/ <*> To unsubscribe from this group, send an email to: yws-flickr-unsubscribe-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

Next Message by Date: click to view message preview

RE: A couple Flickr API questions

There currently is no groups.getMembers method, but one is planned. Who knew that it didn't exist??! Crazy oversight :) From: yws-flickr-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx [mailto:yws-flickr-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx] On Behalf Of Sam JudsonSent: Monday, August 21, 2006 2:22 AMTo: yws-flickr-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxxSubject: Re: [yws-flickr] A couple Flickr API questions Hi1) It depends on how Flickr authenticates, but its likely that a Cookiewould have to be sent along with the request. I'm really not sure how thiswould work. You could try writing a Greasemonkey script to scrape eachpage, although group member pages tend to go over more than one pageunfortunately.2) There is currently no API methods to do what you want - although theyare very high on my wish list as well.> Hi,>> I'm very new to web development and was hoping someone might shed some> light> on a couple questions I have about the Flickr API.>> I'm in the process of writing an "administrative bot" to help manage a> group> I administrate. One of the functions I'd like to have done automatically> isn't available through the API - namely, picking up a specific group's> members. I'd like to parse through the member list, retrieve the user_id> (nsid) and name, plus the date they joined the group and store that info> in> a local database to help match and parse through comments posted to> pictures> in the same group and be able to tell the difference between> member-related> comments and non-member related comments.>> So, not finding the API method to call this (weird that we have API> methods> to get *other* people's contact lists, but nothing to get public member> lists in groups) I tried crafting a generic method to open a web> connection> to the membership list on my group, create a stream reader, and parse> through the stream looking for the specific text that precedes the nsid's.> I> quickly found out that because I opened a new URI, the connection was> redirected to the Flickr login page.>> So the question is one of the two, pick whichever is easiet to answer:> :-)>> 1. What can I do to open a basic connection so that I can parse the HTML> on> the fly myself, instead of using the API? I understand this will likely> mean> I need t o be authenticated, but I'm new to web development, so any> pointers> would be peachy - my application already has the permanent token, so the> app> is authenticated...I just need to know how to use it in a basic web> connect> method, shown below in C# using M$Visual Studio 2005:>> Here's the code I've presently put together to connect & read a stream:> (C#> Visual Studio .NET 2005)>> if (!String.IsNullOrEmpty(URI)) // URI contains URL to group's> membership> page> {> MyRequest = WebRequest.Create(URI);> WebResponse MyResponse = MyRequest.GetResponse();> Stream MyStream = MyResponse.GetResponseStream();> StreamReader MyReader = new StreamReader(MyStream);>> while ((MyWebLine = MyReader.ReadLine()) != null)>> ,,,scan the line for the strings I want ..>> }>> 2. Is there a better way, or even an API call that I've over-looked? I'd> really like to avoid hand-entering each member's nsid in to the bot's> database.>> Any help or pointers would be greatly appreciated.> __._,_.___ SPONSORED LINKS Developer network Computer security Computer training YAHOO! GROUPS LINKS  Visit your group "yws-flickr" on the web.   To unsubscribe from this group, send an email to: yws-flickr-unsubscribe-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___

Previous Message by Thread: click to view message preview

how do I upload a picture with XML-RCP and java

While writing a program that loads photos up to flickr via XML-RCP I have two problems. 1. What do I have to send to flickr to upload the picture?             -What is the methodName? Is it ‘flickr.upload’? – I don’t think so.             - Does the photo data have to be binary data in the xml-data? 2. Why do I get an xml response that looks like that: &lt;frob&gt;746563215463214621&lt;/frob&gt;    instead of             <frob>746563215463214621</frob>    My Dom Object can’t read that xml-code. __._,_.___ SPONSORED LINKS Computer telephony Portable computer Computer telephony integration Computer telephony integration cti Developer network YAHOO! GROUPS LINKS  Visit your group "yws-flickr" on the web.   To unsubscribe from this group, send an email to: yws-flickr-unsubscribe-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___

Next Message by Thread: click to view message preview

RE: Missing signature Error suddenly...It was working fine for more then 6 month

Praveena - scroll up in the messages on this list for more details. But, in short: you are not signing your calls. A bug on our end meant that we accepted the API calls anyway, but we fixed that now and the sigs are required (as they should have been the whole time, per the spec: http://flickr.com/services/api/auth.spec.html - scroll down to #8, Signing). From: yws-flickr-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx [mailto:yws-flickr-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx] On Behalf Of Praveena KhannaSent: Monday, August 21, 2006 2:34 PMTo: yws-flickr-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxxSubject: [yws-flickr] Missing signature Error suddenly...It was working fine for more then 6 month Hi,Today suddenly i get this get on my site....i can download flickr photos to my site..neither upload photos.Although the code was working fine for more then 6 months now....96 Invalid signaturetoken: 418456-5e33e92b6c519430<?xml version="1.0" encoding="utf-8" ?><rsp stat="fail"><err code="97" msg="Missing signature" /></rsp>has the apikey expired....or whats the problem....Pls help....-Praveena __._,_.___ SPONSORED LINKS Developer network Computer security Computer training YAHOO! GROUPS LINKS  Visit your group "yws-flickr" on the web.   To unsubscribe from this group, send an email to: yws-flickr-unsubscribe-hHKSG33TihhbjbujkaE4pw@xxxxxxxxxxxxxxxx   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by