Actually I am using .net api. Its not feasible to put all here. Here is a
short code of what I am doing.
string data =
"[{\"params\":{\"groupId\":\"@self\",\"startIndex\":0,\"userId\":\"@me\"},\"id\":\"1-frnds.g\",\"method\":\"albums.get\"}]";
string response = _oauth.postWebRequest(Session["AccessToken"].ToString(),
Session["AccessTokenSecret"].ToString(), data);
And I am getting this as response:
[{
"id": "1-frnds.g",
"data": {
"filtered": false,
"startIndex": 0,
"totalResults": 22,
"sorted": false,
"list": [{
"accessControlList": {
"entries": [{
"accessorInfo": "",
"accessorType": "metaGroup",
"creationTime": 0,
"accessorId": "3",
"accessType": "read"
}]
},
"ownerId": "17431409202587924121",
"url": "/Album?uid=17145312921609119704&aid=1306812367&mt=os",
"mediaItemCount": 0,
"id": "5612716378291464641",
"title": "album title",
"description": "",
"lastUpdateTimestamp": 1306838033,
"thumbnailUrl":
"http://img4.orkut.com/images/milieu/1306812367/1306838033461/18115009/cn/Z1f094yn.jpg"
}, {
"accessControlList": {
"entries": [{
"accessorInfo": "",
"accessorType": "metaGroup",
"creationTime": 0,
"accessorId": "3",
"accessType": "read"
}]
},
"ownerId": "17431409202587924121",
"url": "/Album?uid=17145312921609119704&aid=1263115099&mt=os",
"mediaItemCount": 0,
"id": "5425038041306917313",
"title": "New Ones",
"description": "",
"lastUpdateTimestamp": 1275811051,
"thumbnailUrl":
"http://img4.orkut.com/images/milieu/1263115099/1263115881285/18115009/tu/Z18bc87q.jpg"
}, {
"accessControlList": {
"entries": [{
"accessorInfo": "",
"accessorType": "metaGroup",
"creationTime": 0,
"accessorId": "3",
"accessType": "read"
}]
},
"ownerId": "17431409202587924121",
"url": "/Album?uid=17145312921609119704&aid=1203680934&mt=os",
"mediaItemCount": 0,
"id": "5169770246366849473",
"title": "Lets have a look at me.",
"description": "Title is enough for description.",
"lastUpdateTimestamp": 1275810939,
"thumbnailUrl":
"http://img6.orkut.com/images/milieu/1203680934/1238320745384/18115009/ep/Zuo6dor.jpg"
}, {
"accessControlList": {
"entries": [{
"accessorInfo": "",
"accessorType": "metaGroup",
"creationTime": 0,
"accessorId": "3",
"accessType": "read"
}]
},
"ownerId": "17431409202587924121",
"url": "/Album?uid=17145312921609119704&aid=1230703108&mt=os",
"mediaItemCount": 0,
"id": "5285829599963670977",
"title": "Dost Log",
"description": "Bhai log........masti mei, matargasti mei..",
"lastUpdateTimestamp": 1275810461,
"thumbnailUrl":
"http://img4.orkut.com/images/milieu/1230703108/1254380715534/18115009/tu/Zppurpb.jpg"
}, {
"accessControlList": {
"entries": [{
"accessorInfo": "",
"accessorType": "metaGroup",
"creationTime": 0,
"accessorId": "3",
"accessType": "read"
}]
},
"ownerId": "17431409202587924121",
"url": "/Album?uid=17145312921609119704&aid=1220415030&mt=os",
"mediaItemCount": 0,
"id": "5241642641414973889",
"title": "Shaping the Shaving :) :P",
"description": "Style Mein Rehna Ka.......",
"lastUpdateTimestamp": 1275810114,
"thumbnailUrl":
"http://img6.orkut.com/images/milieu/1220415030/1220440541690/18115009/ln/Zxldy06.jpg"
}, {
"accessControlList": {
"entries": [{
"accessorInfo": "",
"accessorType": "metaGroup",
"creationTime": 0,
"accessorId": "3",
"accessType": "read"
}]
},
"ownerId": "17431409202587924121",
"url": "/Album?uid=17145312921609119704&aid=1271578384&mt=os",
"mediaItemCount": 0,
"id": "5461387573598644673",
"title": "Annual Fest 2010 k fotu",
"description": "",
"lastUpdateTimestamp": 1271603625,
"thumbnailUrl":
"http://img1.orkut.com/images/milieu/1271578384/1271603587112/18115009/ep/Z1a07hx3.jpg"
}, {
"accessControlList": {
"entries": [{
"accessorInfo": "",
"accessorType": "metaGroup",
"creationTime": 0,
"accessorId": "3",
"accessType": "read"
}]
},
"ownerId": "17431409202587924121",
"url": "/Album?uid=17145312921609119704&aid=1263117807&mt=os",
"mediaItemCount": 0,
"id": "5425049672078354881",
"title": "Jashwant as cameraman, wid my N72 camera",
"description": "",
"lastUpdateTimestamp": 1269776440,
"thumbnailUrl":
"http://img7.orkut.com/images/milieu/1263117807/1263117808414/18115009/tu/Z11f78ae.jpg"
}, {
"accessControlList": {
"entries": [{
"accessorInfo": "",
"accessorType": "metaGroup",
"creationTime": 0,
"accessorId": "3",
"accessType": "read"
}]
},
"ownerId": "17431409202587924121",
"url": "/Album?uid=17145312921609119704&aid=1266448963&mt=os",
"mediaItemCount": 0,
"id": "5439356878156229057",
"title": "Cute & Real",
"description": "",
"lastUpdateTimestamp": 1269776123,
"thumbnailUrl":
"http://img1.orkut.com/images/milieu/1266448963/1266474165114/18115009/ep/Z18jx588.jpg"
}, {
"accessControlList": {
"entries": [{
"accessorInfo": "",
"accessorType": "metaGroup",
"creationTime": 0,
"accessorId": "3",
"accessType": "read"
}]
},
"ownerId": "17431409202587924121",
"url": "/Album?uid=17145312921609119704&aid=1264745220&mt=os",
"mediaItemCount": 0,
"id": "5432039357690440129",
"title": "29 Jan 2010",
"description": "",
"lastUpdateTimestamp": 1269776048,
"thumbnailUrl":
"http://img5.orkut.com/images/milieu/1264745220/1264745222263/18115009/ep/Z70ct6l.jpg"
}, {
"accessControlList": {
"entries": [{
"accessorInfo": "",
"accessorType": "metaGroup",
"creationTime": 0,
"accessorId": "3",
"accessType": "read"
}]
},
"ownerId": "17431409202587924121",
"url": "/Album?uid=17145312921609119704&aid=1263270863&mt=os",
"mediaItemCount": 0,
"id": "5425707042592811457",
"title": "12 Jan 2010",
"description": "",
"lastUpdateTimestamp": 1263270864,
"thumbnailUrl":
"http://img8.orkut.com/images/milieu/1263270863/1263270864577/18115009/tu/Zg8u2sj.jpg"
}, {
"accessControlList": {
"entries": [{
"accessorInfo": "",
"accessorType": "metaGroup",
"creationTime": 0,
"accessorId": "3",
"accessType": "read"
}]
},
"ownerId": "17431409202587924121",
"url": "/Album?uid=17145312921609119704&aid=1&mt=os",
"mediaItemCount": 0,
"id": "4313082305",
"title": "Álbum de Jashwant",
"description": "",
"lastUpdateTimestamp": 1263250985,
"thumbnailUrl":
"http://img8.orkut.com/images/milieu/5/9/18115009/Z14vlbf0.jpg"
}, {
"accessControlList": {
"entries": [{
"accessorInfo": "",
"accessorType": "metaGroup",
"creationTime": 0,
"accessorId": "3",
"accessType": "read"
}]
},
"ownerId": "17431409202587924121",
"url": "/Album?uid=17145312921609119704&aid=1220528281&mt=os",
"mediaItemCount": 0,
"id": "5242129050756213185",
"title": "Its Different",
"description": "",
"lastUpdateTimestamp": 1263117762,
"thumbnailUrl":
"http://img2.orkut.com/images/milieu/1220528281/1234723935394/18115009/ep/Z11hnga3.jpg"
}, {
"accessControlList": {
"entries": [{
"accessorInfo": "",
"accessorType": "metaGroup",
"creationTime": 0,
"accessorId": "3",
"accessType": "read"
}]
},
"ownerId": "17431409202587924121",
"url": "/Album?uid=17145312921609119704&aid=1263116898&mt=os",
"mediaItemCount": 0,
"id": "5425045767953082817",
"title": "Mera gaaNv aur gaNvaar mein :)",
"description": "",
"lastUpdateTimestamp": 1263116899,
"thumbnailUrl":
"http://img2.orkut.com/images/milieu/1263116898/1263116899054/18115009/tu/Z58vch4.jpg"
}, {
"accessControlList": {
"entries": [{
"accessorInfo": "",
"accessorType": "metaGroup",
"creationTime": 0,
"accessorId": "3",
"accessType": "read"
}]
},
"ownerId": "17431409202587924121",
"url": "/Album?uid=17145312921609119704&aid=1220414758&mt=os",
"mediaItemCount": 0,
"id": "5241641473183869377",
"title": "Single Man , Different Looks !!!",
"description": "I m a gr8 joker.Believe me or watch this...",
"lastUpdateTimestamp": 1249400925,
"thumbnailUrl":
"http://img4.orkut.com/images/milieu/1220414758/1220442207366/18115009/ln/Z1jrl5u3.jpg"
}, {
"accessControlList": {
"entries": [{
"accessorInfo": "",
"accessorType": "metaGroup",
"creationTime": 0,
"accessorId": "3",
"accessType": "read"
}]
},
"ownerId": "17431409202587924121",
"url": "/Album?uid=17145312921609119704&aid=1205318004&mt=os",
"mediaItemCount": 0,
"id": "5176801408478112193",
"title": "The Most Handsome Guy This World Can Ha...",
"description": "The best , a photo can have.",
"lastUpdateTimestamp": 1244898855,
"thumbnailUrl":
"http://img1.orkut.com/images/milieu/1205318004/1205905794902/18115009/Z1ewrpm5.jpg"
}, {
"accessControlList": {
"entries": [{
"accessorInfo": "",
"accessorType": "metaGroup",
"creationTime": 0,
"accessorId": "3",
"accessType": "read"
}]
},
"ownerId": "17431409202587924121",
"url": "/Album?uid=17145312921609119704&aid=1244873362&mt=os",
"mediaItemCount": 0,
"id": "5346690377469684161",
"title": "Masak'kala",
"description": "\"yeh to had gayi yaar\", \nkuchh to sharam
karo.......",
"lastUpdateTimestamp": 1244898709,
"thumbnailUrl":
"http://img3.orkut.com/images/milieu/1244873362/1244898616171/18115009/ln/Z1uowgz3.jpg"
}, {
"accessControlList": {
"entries": [{
"accessorInfo": "",
"accessorType": "metaGroup",
"creationTime": 0,
"accessorId": "3",
"accessType": "read"
}]
},
"ownerId": "17431409202587924121",
"url": "/Album?uid=17145312921609119704&aid=1241848862&mt=os",
"mediaItemCount": 0,
"id": "5333700248882932161",
"title": "Illusions",
"description": "sabse achchhe yahaN mileNge",
"lastUpdateTimestamp": 1241875494,
"thumbnailUrl":
"http://img4.orkut.com/images/milieu/1241848862/1241875494710/18115009/ep/Zlqoiih.jpg"
}, {
"accessControlList": {
"entries": [{
"accessorInfo": "",
"accessorType": "metaGroup",
"creationTime": 0,
"accessorId": "3",
"accessType": "read"
}]
},
"ownerId": "17431409202587924121",
"url": "/Album?uid=17145312921609119704&aid=1240472303&mt=os",
"mediaItemCount": 0,
"id": "5327787972996917697",
"title": "Funny !!!",
"description": "",
"lastUpdateTimestamp": 1241017162,
"thumbnailUrl":
"http://img7.orkut.com/images/milieu/1240472303/1241017052485/18115009/ep/Z18mwocm.jpg"
}, {
"accessControlList": {
"entries": [{
"accessorInfo": "",
"accessorType": "metaGroup",
"creationTime": 0,
"accessorId": "3",
"accessType": "read"
}]
},
"ownerId": "17431409202587924121",
"url": "/Album?uid=17145312921609119704&aid=1221712720&mt=os",
"mediaItemCount": 0,
"id": "5247216177525320129",
"title": "~~~Cute~~~",
"description": "Cutest babies......",
"lastUpdateTimestamp": 1221744051,
"thumbnailUrl":
"http://img7.orkut.com/images/milieu/1221712720/1221744028267/18115009/ln/Zu3mco4.jpg"
}, {
"accessControlList": {
"entries": [{
"accessorInfo": "",
"accessorType": "metaGroup",
"creationTime": 0,
"accessorId": "3",
"accessType": "read"
}]
},
"ownerId": "17431409202587924121",
"url": "/Album?uid=17145312921609119704&aid=1220413212&mt=os",
"mediaItemCount": 0,
"id": "5241634833164429761",
"title": "Ganja Hai Par Banda Hai Yeh",
"description": "A super cool Bachchan Yadav........",
"lastUpdateTimestamp": 1220439176,
"thumbnailUrl":
"http://img5.orkut.com/images/milieu/1220413212/1220438907289/18115009/ln/Zbgq2se.jpg"
}],
"updatedSince": false,
"itemsPerPage": 20
}
}]
I have fetched photos many times with this code. But its not working any more.
I am getting a error free response but there is no photo in any of these
albums.Else everything is okay with the response.
--
You received this message because you are subscribed to the Google Groups
"orkut Developer Forum" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/opensocial-orkut/-/QTJja0dRSEw5Wk1K.
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.