Skip to content

Commit 76adc2b

Browse files
committed
Merge branch '5.5' of https://github.com/eddieace/php-graph-sdk into eddieace-5.5
2 parents 80328ae + e49dd1e commit 76adc2b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Facebook/GraphNodes/GraphPage.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,14 @@ public function getPerms()
144144
{
145145
return $this->getField('perms');
146146
}
147+
148+
/**
149+
* Returns the `fan_count` (Number of people who likes to page) as int if present.
150+
*
151+
* @return int|null
152+
*/
153+
public function getFanCount()
154+
{
155+
return $this->getField('fan_count');
156+
}
147157
}

0 commit comments

Comments
 (0)