Skip to content
Browse files

Now using setAccessToken() to set access token.

  • Loading branch information...
1 parent 591129b commit c5c0439df8de398539c9645ce023761473b7281d @genesis19 committed Feb 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/base_facebook.php
View
2 src/base_facebook.php
@@ -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 c5c0439

Please sign in to comment.
Something went wrong with that request. Please try again.