Skip to content

Commit 2dac021

Browse files
committed
Merge pull request facebookarchive#115 from agiuliano/master
Adding a further description of the api method
2 parents c390247 + a0a31b5 commit 2dac021

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

readme.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ if ($user) {
3939
}
4040
```
4141

42+
You can make api calls by choosing the `HTTP method` and setting optional `parameters`:
43+
```php
44+
$facebook->api('/me/feed/', 'post', array(
45+
'message' => 'I want to display this message on my wall'
46+
));
47+
```
48+
49+
4250
Login or logout url will be needed depending on current user state.
4351
```php
4452
if ($user) {

0 commit comments

Comments
 (0)