Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Now using setAccessToken() to set access token.

  • Loading branch information...
commit c5c0439df8de398539c9645ce023761473b7281d 1 parent 591129b
@genesis19 authored
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);
Please sign in to comment.
Something went wrong with that request. Please try again.