I try to make my own Yahoo Messenger...
I've read step by step of the yahoo messenger IM SDK...
I've succed to get request_toke, and oauth_token_secret
My problem is when I want to create session...
I dont know how to send this request using DELPHI 7 with TIdHTTP:
/----
POST /v1/session
Host: developer.messenger.yahooapis.com
Authorization: < Standard OAuth credentials >
Content-Type: application/json;charset=utf-8
Content-Length: 2
{
}
---/
i try to input it via IdHttp.CustomHeader, but always show this error msg: "HTTP/1.1 401 Authorization Required"
When I put the parameter via Tstringlist, then I execute them with tIdTHHP.post(URL,TstringList), it always show this error: "HTTP/1.1 501 OAuth Parameter Transmission Not Supported"
What is the meaning of "Standard OAuth credentials" above?
Anyone can help me, pleeaseeeee.....
[krishnamurti]
by
1 Reply