08-09-2012 02:26 AM
I am currenlty working on Livejournal for blackberry. I need to add photo to my new post, for that i am using LiveJournal FotoBilter api.
For testing purpose, i am calling GetGals methods which gets list of galleries for the user and for that i need to call "GetChallenge" first and calling to it works fine and returns challenge.
And next step is to use challenge for calculating response and pass that response in "Auth" param along with other params.
I have done each and everything given in "http://www.livejournal.com/doc/fotobilder-api#tech
I am calling "GetGals" because i need same "Auth" param (calculating response) for "UploadPic" method.
Thanks in advance, please answer this as soon as possible.
08-14-2012 12:42 PM
I am not familiar with LiveJournal APIs, however a quick look at the documentation shows that its using an HTTP GET request to pass custom HTTP headers, and receive a response of XML data.
How are you making this call from your application? If it is XmlHttpRequest, I'm curious if the following HTTP headers are not being provided:
Can you provide a code snippet or jsfiddle that reproduces this behavior?