Mocking Gallery2 Remote Responses

CrimsonSun

Joined: 2008-11-03
Posts: 1
Posted: Mon, 2008-11-03 21:15

Hi,

I'm trying to mock the responses from gallery 2 since the website we're co-operating with is only compatible gallery2. Instead of PHP I've built the API on aspx. Currently it works with Gallery Remote but I'm having problems testing it with iPhoto. iphoto calls the login function twice for some reason under the two different protocols (cmd, g2_form[cmd]). For some background information, the only differences I can see is that the authtoken I'm grabbing from the SessionID doesn't seem to match the normal Gallery2 Session Id. Also, I couldn't find GALLERYSID to put into cookies so I skipped that. After calling the login function the second time it seems to just stop instead of calling fetch-albums-prune. If anyone has any suggestions it would be very appreciated.

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Mon, 2008-11-03 22:12

Hi there Crimson Sun,

There's no need to cross-post your query to four different parts of this forum - since your question is about Gallery Remote, this is probably the most appropriate place, so I've deleted the others. Best of luck getting the help you need.