Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Commit f75cadd

Browse files
committed
Fixed long lived sessions forgetting the signed request
1 parent 00a1bf4 commit f75cadd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Facebook/FacebookSession.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public function getSessionInfo($appId = null, $appSecret = null)
166166
public function getLongLivedSession($appId = null, $appSecret = null)
167167
{
168168
$longLivedAccessToken = $this->accessToken->extend($appId, $appSecret);
169-
return new static($longLivedAccessToken);
169+
return new static($longLivedAccessToken, $this->signedRequest);
170170
}
171171

172172
// @TODO Remove getExchangeToken() in 4.1: can be accessed from AccessToken directly

0 commit comments

Comments
 (0)