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: CHANGELOG.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,21 @@ Starting with version 5, the Facebook PHP SDK follows [SemVer](http://semver.org
20
20
21
21
Version 5 of the Facebook PHP SDK is a complete refactor of version 4. It comes loaded with lots of new features and a friendlier API.
22
22
23
+
- 5.6.1 (2017-08-16)
24
+
- Fixed doc block syntax that interfered with Doctrine (#844)
25
+
- 5.6.0 (2017-07-23)
26
+
- Bump Graph API version to v2.10 (#829)
27
+
- 5.5.0 (2017-04-20)
28
+
- Added support for batch options (#713)
29
+
- Bump Graph API version to v2.9.
30
+
- 5.4.4 (2017-01-19)
31
+
- Added the `application/octet-stream` MIME type for SRT files (#734)
32
+
- 5.4.3 (2016-12-30)
33
+
- Fixed a bug that would throw a type error in `GraphEdge` in some cases (#715)
34
+
- 5.4.2 (2016-11-15)
35
+
- Added check for [PHP 7 CSPRNG](http://php.net/manual/en/function.random-bytes.php) first to keep mcrypt deprecation messages from appearing in PHP 7.1 (#692)
36
+
- 5.4.1 (2016-10-18)
37
+
- Fixed a bug that was not properly parsing response headers when they contained the colon `:` character. (#679)
23
38
- 5.4.0 (2016-10-12)
24
39
- Bump Graph API version to v2.8.
25
40
- Auto-cast `cover` field to `GraphCoverPhoto` and `picture` field to `GraphPicture` in `GraphPage`. (#655)
Facebook has adopted a Code of Conduct that we expect project participants to adhere to. Please [read the full text](https://code.facebook.com/codeofconduct) so that you can understand what actions will and will not be tolerated.
Copy file name to clipboardExpand all lines: docs/reference/FacebookBatchRequest.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,8 @@ Represents a batch request that will be sent to the Graph API.
4
4
5
5
## Facebook\FacebookBatchRequest
6
6
7
-
You can instantiate a new `FacebookBatchRequest` entity directly by sending the arguments to the constructor.
7
+
You can instantiate a new `FacebookBatchRequest` entity directly by sending the arguments to the constructor or
8
+
by using the [`Facebook\Facebook::newBatchRequest()`](Facebook.md#newBatchRequest) factory method.
8
9
9
10
```php
10
11
use Facebook\FacebookBatchRequest;
@@ -61,9 +62,9 @@ Since the `Facebook\FacebookBatchRequest` is extended from the [`Facebook\Facebo
61
62
### add()
62
63
```php
63
64
public add(
64
-
array|Facebook\FacebookBatchRequest $request,
65
-
string|null $name
66
-
)
65
+
array|Facebook\FacebookBatchRequest $request,
66
+
string|null $name
67
+
)
67
68
```
68
69
Adds a request to be sent in the batch request. The `$request` can be a single [`Facebook\FacebookRequest`](FacebookRequest.md) or an array of `Facebook\FacebookRequest`'s.
0 commit comments