{"action":"created","issue":{"url":"https://api.github.com/repos/ptcong/php-image-uploader/issues/5","labels_url":"https://api.github.com/repos/ptcong/php-image-uploader/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/ptcong/php-image-uploader/issues/5/comments","events_url":"https://api.github.com/repos/ptcong/php-image-uploader/issues/5/events","html_url":"https://github.com/ptcong/php-image-uploader/issues/5","id":54568955,"number":5,"title":"You must be logged in before call the method Picasa::checkPermission","user":{"login":"phuclh","id":6707194,"avatar_url":"https://avatars.githubusercontent.com/u/6707194?v=3","gravatar_id":"","url":"https://api.github.com/users/phuclh","html_url":"https://github.com/phuclh","followers_url":"https://api.github.com/users/phuclh/followers","following_url":"https://api.github.com/users/phuclh/following{/other_user}","gists_url":"https://api.github.com/users/phuclh/gists{/gist_id}","starred_url":"https://api.github.com/users/phuclh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phuclh/subscriptions","organizations_url":"https://api.github.com/users/phuclh/orgs","repos_url":"https://api.github.com/users/phuclh/repos","events_url":"https://api.github.com/users/phuclh/events{/privacy}","received_events_url":"https://api.github.com/users/phuclh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-16T12:08:09Z","updated_at":"2015-01-19T07:35:33Z","closed_at":null,"body":"When I select 2 images (~2MB), it's OK. But when I select about 20 images (~15MB) I got a message:\r\n`You must be logged in before call the method Picasa::checkPermission`\r\n\r\nThank you !!!"},"comment":{"url":"https://api.github.com/repos/ptcong/php-image-uploader/issues/comments/70455460","html_url":"https://github.com/ptcong/php-image-uploader/issues/5#issuecomment-70455460","issue_url":"https://api.github.com/repos/ptcong/php-image-uploader/issues/5","id":70455460,"user":{"login":"ptcong","id":1702916,"avatar_url":"https://avatars.githubusercontent.com/u/1702916?v=3","gravatar_id":"","url":"https://api.github.com/users/ptcong","html_url":"https://github.com/ptcong","followers_url":"https://api.github.com/users/ptcong/followers","following_url":"https://api.github.com/users/ptcong/following{/other_user}","gists_url":"https://api.github.com/users/ptcong/gists{/gist_id}","starred_url":"https://api.github.com/users/ptcong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptcong/subscriptions","organizations_url":"https://api.github.com/users/ptcong/orgs","repos_url":"https://api.github.com/users/ptcong/repos","events_url":"https://api.github.com/users/ptcong/events{/privacy}","received_events_url":"https://api.github.com/users/ptcong/received_events","type":"User","site_admin":false},"created_at":"2015-01-19T07:35:33Z","updated_at":"2015-01-19T07:35:33Z","body":"I don't remember how long auth token will be expires (you may check in picasa API document). I set it to 5 minutes to sure that token always refresh each 5 minutes.\r\n\r\n`$uploader = $this->hostRepository->loginPicasa($host);`\r\n\r\nWhy don't you call ->login() instead of loginPicasa ? \r\nBecause if you use other plugin, you can't call loginPicasa. \r\nIf possible, you should use this\r\n\r\n`$uploader = $this->hostRepository->loginPicasa($host);\r\n$tranferedImageLink = $uploader->upload($link);`"}}