Hello,
In Buddylist Authorization Management APIs, you can either accept or deny request.If u don't want to add contact then you have to use delete method.
Try the following code:-
string method = "Delete";
string Id = requestMember.Sender;
string presence_realm = log.Server + "/v1/buddyrequest/yahoo/" + Id;
string postdata = "{}";
string url = "http://" + presence_realm + "?&sid=" + log.SessionId + "&oauth_consumer_key=" + oauth_consumer_key + "&oauth_signature_method=" +
oauth_signature_method + "&oauth_nonce=" + oauth_nonce + "&oauth_timestamp=" + oauth_timestamp + "&oauth_signature=" + oauth_signature +
"&oauth_version=" + oauth_version + "&oauth_token=" + log.oauth_token;
string sessionid_request = fetchURL(url, true, postdata, method);
Thanks
I have implemented method buddy request. I am getting error 405. Can anyone tell me why? How can I do to respond to buddy request only? ( meaning if I don;t want to add buddies, only to respond to their request. I am using c#