Hi, When this issue is ready to use via REST?
Bruno On Jun 16, 9:56 am, "Ashok.s New Delhi" <ashok2wo...@gmail.com> wrote: > Hi orkut team > > I am able to access to My Albums thats all right.(Viewers albums) > But i need to acced my friends albums also > Is there any way to access my friends albums also. > pls let me know.. > > On Fri, Apr 17, 2009 at 5:37 AM, Sachin Shenoy <therealsac...@gmail.com>wrote: > > > > > Hi Jota, > > > Expect it to be launched within next two weeks. > > Yes, users will either have to mark "Allow access to my photos" or the > > application can dynamically request permissions for albums access via > > requestPermission api. The example code is given below which should run on > > sandbox. > > > Hope that helps! > > Sachin > > > // -- Copy it in OpenSocial Dev App. and Execute. > > > var permission = 'albums'; > > > function callback(data) { > > if (data.hadError()) { > > output("There was a problem: " + data.getErrorMessage()); > > } else { > > output("You now have access to the " + permission); > > } > > }; > > > var has_permission = opensocial.hasPermission( > > permission); > > > if (!has_permission) { > > output("You do not have access to the " + permission); > > opensocial.requestPermission( > > [ permission ], > > "Get Albums Access", > > callback); > > } else { > > output("You have access to the " + permission); > > } > > > // End of code. > > > On Thu, Apr 16, 2009 at 10:58 PM, Jota <jefferson.ru...@gmail.com> wrote: > > >> Anybody knows when we will can access photo albuns in production, I mean, > >> outside the sandbox? > > >> Will users have to mark "Allow access to my photos" or this option will be > >> shown selected by default (on adding a new app)? > > >> regards, > >> Jota > > -- > With Regards, > Ashokkumar.S > 09711560696. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" group. To post to this group, send email to opensocial-orkut@googlegroups.com To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---