protected function FacebookPostCollector::getFacebookFeedUrl in Social Feed 8
Create the Facebook feed URL.
Parameters
int $num_posts: The number of posts to return.
Return value
string The feed URL with the appended fields to retrieve.
1 call to FacebookPostCollector::getFacebookFeedUrl()
- FacebookPostCollector::getPosts in src/
Services/ FacebookPostCollector.php - Fetch Facebook posts from a given feed.
File
- src/
Services/ FacebookPostCollector.php, line 220
Class
- FacebookPostCollector
- Class FacebookPostCollector.
Namespace
Drupal\socialfeed\ServicesCode
protected function getFacebookFeedUrl($num_posts) {
return '/feed?fields=' . implode(',', $this->fields) . '&limit=' . $num_posts;
}