We are working on office 365 public facing site . we created some sandbox solution and get list items using java script object model . which is working fine before we made our site public (using credential ) but after making site publicly available it will also available to anonymous user so they can access website same as normal users, but share-point internally block get item class for anonymous user so he can not able to access list item .
need to know how to we access list ,library item anonymously.
Error :
Microsoft.SharePoint.Client.ApiBlockedExceptionThe method "GetItems" of the type "List" with id "{xxx-xx-xx-xxx}" is blocked by the administrator on the server.