I am trying to search a page by the domain by using the domain name, but I am getting amy results. My code looks like this:
$session = new FacebookSession('fb_access_token');
$session = FacebookSession::newAppSession();
$request = new FacebookRequest( $session, 'GET', '/search?q=example.com&type=page');
$response = $request->execute();
$graphObject = $response->getGraphObject();
$pages = $graphObject -> asArray();
Should I be doing something else to search for pages by the domain?