Permalink
Browse files

Now setting access token with default setAccessToken() function

  • Loading branch information...
genesis19 committed Feb 17, 2012
1 parent 5182a20 commit 0dd0a511c4a06e2ec7194a0e341b4c2577f93e26
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/base_facebook.php
View
@@ -341,7 +341,7 @@ public function setAccessToken($access_token) {
* @return BaseFacebook
*/
public function setPersistentAccessToken($access_token) {
- $this->accessToken = $access_token;
+ $this->setAccessToken($access_token);
$this->user = $this->getUserFromAccessToken();
$this->setPersistentData('access_token', $access_token);
$this->setPersistentData('user_id', $this->user);

0 comments on commit 0dd0a51

Please sign in to comment.