@seanh, thanks for reply.
I just use socket.http as below,
local string = “username=”…username…"&password="…password…"&api_key="…api_key
local result = http.request( "https://www.plurk.com/API/Users/login?"… string )
login works well.
but other requests:
Ex:getOwnProfile or /API/Polling/getUnreadCount
local string = “api_key=”…api_key
local result = http.request( "http://www.plurk.com/API/Profile/getOwnProfile?"… string )
all failed…
But at the end of test code I put logout method:
local string = “api_key=”…api_key
local result = http.request( "http://www.plurk.com/API/Users/logout?"… string )
Logout works fine…
How to include a session key while using socket.http.request?
Thanks again =)
Erin
[import]uid: 5377 topic_id: 1887 reply_id: 5609[/import]