Skip to content

Commit 9c3992b

Browse files
committed
add fql query description with api method
1 parent 3a7afe2 commit 9c3992b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

readme.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,15 @@ $facebook->api('/me/feed/', 'post', array(
4646
));
4747
```
4848

49+
To run an FQL query you have to pass directly the parameters in as an array, setting the `method` property to `fql.query`:
50+
51+
```php
52+
$facebook->api(array(
53+
'method' => 'fql.query',
54+
'query' => 'SELECT ...'
55+
));
56+
```
57+
4958
Login or logout url will be needed depending on current user state.
5059
```php
5160
if ($user) {

0 commit comments

Comments
 (0)