Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
static function Get_access_token_by_page($user_ID, $page_id) { if ($page_id && $page_id != 'me') { $pages = WPAL2Int::Get_fb_pages($user_ID); if ($pages->data) { foreach ($pages->data as $page) { if ($page->id == $page_id) { return $page->access_token; } } } } return WPAL2Int::Get_access_token($user_ID); }