facebook-graph-api

Facebook Object Debugger - Could not resolve the hostname into a valid IP address

江枫思渺然 提交于 2020-08-01 05:06:26
问题 There is a problem with how Facebook scrapes my page for meta data. When I use the Facebook object debugger I get the following error: I am quite sure this has something to do with how my DNS records are defined. It seems the scraper can't even reach my site. As the error states, it can't turn the host name to a valid IP. When I press the link down the page "See exactly what out scra...", I get "Document returned no data". I am trying to figure it for about a month now and getting VERY VERY

Facebook Object Debugger - Could not resolve the hostname into a valid IP address

梦想与她 提交于 2020-08-01 05:05:46
问题 There is a problem with how Facebook scrapes my page for meta data. When I use the Facebook object debugger I get the following error: I am quite sure this has something to do with how my DNS records are defined. It seems the scraper can't even reach my site. As the error states, it can't turn the host name to a valid IP. When I press the link down the page "See exactly what out scra...", I get "Document returned no data". I am trying to figure it for about a month now and getting VERY VERY

(#100) Tried accessing nonexisting field (likes) on node type (ShadowIGMedia)“,”type“:”OAuthExcepti (truncated…)

独自空忆成欢 提交于 2020-07-23 07:38:22
问题 I am using Facebook graph API to get specific Instagram post likes, I get user meta data and media and ... but I can't get users who had liked my instagram post. here is my php code: $postLikesEndpoint = 'https://graph.facebook.com/v7.0/{object_id}; // object_id = 17859297607958330; // endpoint params $igParams = array( 'fields' => 'likes.summary(true)', 'access_token'=> env('ACCESS_TOKEN') ); $client = new Client(); $response = $client->request('GET', $postLikesEndpoint, ['query' =>

(#100) Tried accessing nonexisting field (likes) on node type (ShadowIGMedia)“,”type“:”OAuthExcepti (truncated…)

痞子三分冷 提交于 2020-07-23 07:37:05
问题 I am using Facebook graph API to get specific Instagram post likes, I get user meta data and media and ... but I can't get users who had liked my instagram post. here is my php code: $postLikesEndpoint = 'https://graph.facebook.com/v7.0/{object_id}; // object_id = 17859297607958330; // endpoint params $igParams = array( 'fields' => 'likes.summary(true)', 'access_token'=> env('ACCESS_TOKEN') ); $client = new Client(); $response = $client->request('GET', $postLikesEndpoint, ['query' =>

(#100) Tried accessing nonexisting field (likes) on node type (ShadowIGMedia)“,”type“:”OAuthExcepti (truncated…)

会有一股神秘感。 提交于 2020-07-23 07:36:08
问题 I am using Facebook graph API to get specific Instagram post likes, I get user meta data and media and ... but I can't get users who had liked my instagram post. here is my php code: $postLikesEndpoint = 'https://graph.facebook.com/v7.0/{object_id}; // object_id = 17859297607958330; // endpoint params $igParams = array( 'fields' => 'likes.summary(true)', 'access_token'=> env('ACCESS_TOKEN') ); $client = new Client(); $response = $client->request('GET', $postLikesEndpoint, ['query' =>

Instagram Graph API: Media Thumbnail URL

若如初见. 提交于 2020-07-20 22:09:45
问题 I'm using the Instagram Graph API in a business account, and almost everything works just fine. I have created a WordPress port of the Facebook SDK, and the function that retrieves the media items looks like this (part of a class, the $fb object is already authenticated using the default_access_token in the class constructor): public function get_media( $business_account_id = '', $limit = 15 ) { $limit = absint( $limit ); try { $response = $this->fb->get( "/{$business_account_id}?fields=media

Instagram Graph API: Media Thumbnail URL

放肆的年华 提交于 2020-07-20 22:09:34
问题 I'm using the Instagram Graph API in a business account, and almost everything works just fine. I have created a WordPress port of the Facebook SDK, and the function that retrieves the media items looks like this (part of a class, the $fb object is already authenticated using the default_access_token in the class constructor): public function get_media( $business_account_id = '', $limit = 15 ) { $limit = absint( $limit ); try { $response = $this->fb->get( "/{$business_account_id}?fields=media

Instagram Graph API: Media Thumbnail URL

可紊 提交于 2020-07-20 22:08:26
问题 I'm using the Instagram Graph API in a business account, and almost everything works just fine. I have created a WordPress port of the Facebook SDK, and the function that retrieves the media items looks like this (part of a class, the $fb object is already authenticated using the default_access_token in the class constructor): public function get_media( $business_account_id = '', $limit = 15 ) { $limit = absint( $limit ); try { $response = $this->fb->get( "/{$business_account_id}?fields=media

How to get users email and fd id using facebook login with graph api

。_饼干妹妹 提交于 2020-07-18 06:22:11
问题 I am working for the first time with facebook API. From there documentation I found we can fetch name as below console.log(response.name); But How can I can also fetch email and fbid ? Thanks, Enamul <?php ?> <div id="fb-root"></div> <script> // Additional JS functions here window.fbAsyncInit = function() { FB.init({ appId : 'f', // App ID channelUrl : '//localhost/practices/phpTest/fblogin/login.php/channel.html', // Channel File status : true, // check login status cookie : true, // enable

How can I get posts from public pages with Graph API?

一曲冷凌霜 提交于 2020-07-10 10:27:07
问题 I have Graph API Facebook. As shown as when I get my Posts that work. but when I get public page that not wok and get error (#100) Pages Public Content Access requires either app secret proof or an app token . I generate token with all permissions but not work. My posts(worked): JasonStatham posts(not work): 来源: https://stackoverflow.com/questions/62536699/how-can-i-get-posts-from-public-pages-with-graph-api