Hello I am getting Orkut Upload error in mediaitems.create. I am
using

string mediaItem = "[{\"params\":{\"userId\":\"" + userId + "\",
\"groupId\":\"" + groupId + "\"," +
                            "\"albumId\":\"" + albumId + "\",
\"mediaitem\":{\"title\":\"" + imageTitle + "\",\"url\":\"@field:" +
ParamName + "\"}}," +
                                "\"method\":\"" + methodName + "\",\"id
\":\"0-p.g\"}]";

this as JSON request. These same accesstoken and accessSecret works
for GetAlbum. I am using ContentType as multipart/form-data in HTTP
Request.
If I change this content-type to application/json, I am not getting
unauthorized error.

Can anybody please let me know the root-cause of this issue.

Let me know if you want anything more.

-- 
You received this message because you are subscribed to the Google Groups 
"orkut Developer Forum" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en.

Reply via email to