Facebook Search Graph For Page using SDK PHP SDK 4 -
i trying search page domain using domain name, getting amy results. code looks 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 doing else search pages domain?
as per doc, can search name:
type description 'q' value page search page. name
Comments
Post a Comment