You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/getting_started.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -227,7 +227,7 @@ if (isset($accessToken)) {
227
227
228
228
When a user first logs into your app, the access token your app receives will be a short-lived access token that lasts about 2 hours. It's generally a good idea to exchange the short-lived access token for a long-lived access token that lasts about 60 days.
229
229
230
-
To extend an access token, you can make use of the [`OAuth2Client`](reference/Facebook.md#getOAuth2Client()).
230
+
To extend an access token, you can make use of the [`OAuth2Client`](reference/Facebook.md#getoauth2client).
231
231
232
232
```
233
233
// OAuth 2.0 client handler
@@ -269,7 +269,7 @@ echo 'Logged in as ' . $userNode->getName();
269
269
270
270
The `get()` method will return a [`Facebook\FacebookResponse`](reference/FacebookResponse.md) which is an entity that represents an HTTP response from the Graph API.
271
271
272
-
To get the response in the form of a nifty collection, we call `getGraphUser()` which returns a [`Facebook\GraphNodes\GraphUser`](reference/GraphNode.md#GraphNode-instance-methods) entity which represents a user node.
272
+
To get the response in the form of a nifty collection, we call `getGraphUser()` which returns a [`Facebook\GraphNodes\GraphUser`](reference/GraphNode.md#graphnode-instance-methods) entity which represents a user node.
273
273
274
274
If you don't care about fancy collections and just want the response as a plain-old array, you can call the `getDecodedBody()` method on the `FacebookResponse` entity.
0 commit comments