首页 文章

我想在facebook php SDK中导入FB事件数据

提问于
浏览
-1
try {
      $response = $fb->get('/350717478732426/?fields=id,name,interested_count,start_time,end_time,owner,place,attending_count,cover,guest_list_enabled,type,updated_time,description,event_times,ticket_uri', $_SESSION['fb_access_token']);
    }
    catch(Facebook\Exceptions\FacebookResponseException $e) {
      echo 'Graph returned an error: ' . $e->getMessage();
      exit;
    }
    catch(Facebook\Exceptions\FacebookSDKException $e) {
      echo 'Facebook SDK returned an error: ' . $e->getMessage();
      exit;
    }
    $graphNode    = $response->getGraphNode()->asArray();
    echo " ";
        print_r($graphNode);
    echo " ";

1 回答

  • 0

    请发布您的代码 .

    如果您在产品类别中点击了“重复”,或者在产品的“编辑页面”中点击了“复制到新草稿”,您将看到此错误消息 . 解决问题非常简单 . 在单击“更新”之前,您只需要在新产品列表中“重置Facebook元数据” . 您将在收到错误的产品的“编辑页面”中找到此链接 . 它应位于产品标签和右侧的产品图像之间 .

    如果以上操作无效,则可能是权限问题 .

相关问题