Browse files

fixing permission

  • Loading branch information...
1 parent 2a4c4af commit b03add50ed23fbf8b75b01d53a39c7054de8eb37 @hasinhayder committed Mar 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 flickr.php
View
2 flickr.php
@@ -17,7 +17,7 @@
//get the request token and store it
$request_token_info = $oauthc->getRequestToken($oauth['flickr']['requesttokenurl']); //get request token
$_SESSION['frequest_token_secret'] = $request_token_info['oauth_token_secret'];
- header("Location: {$oauth['flickr']['authurl']}?oauth_token=".$request_token_info['oauth_token']);//forward user to authorize url
+ header("Location: {$oauth['flickr']['authurl']}?oauth_token=".$request_token_info['oauth_token']."&perms=read");//forward user to authorize url
}
else if(empty($_SESSION['faccess_oauth_token'])) {
//get the access token - dont forget to save it

0 comments on commit b03add5

Please sign in to comment.