function facebook_wall_build_likes_url in Facebook Wall 7
Build the URL to obtain the number of links for the system page.
Return value
string A complete Graph API URL for a page's like.
1 call to facebook_wall_build_likes_url()
- _facebook_wall_page_likes in ./
facebook_wall.module - Admin configure form for Facebook Page Likes.
File
- ./
facebook_wall.module, line 202 - Get the current facebook wall posts of the given user or page.
Code
function facebook_wall_build_likes_url() {
$url = facebook_wall_base_url() . variable_get('facebook_wall_page_url', 'me') . '/likes';
$url .= '?access_token=' . facebook_wall_access_token();
$url .= 'fields=link,name,picture';
return $url;
}