简体   繁体   English

Facebook分享图片未显示

[英]Facebook share image is not displaying

I have two issues 我有两个问题

  1. I want to share my application on facebook. 我想在Facebook上分享我的应用程序。 I provided a logo of proper size 1024*1024. 我提供了尺寸为1024 * 1024的徽标。 But while i click on the share button logo is not getting display. 但是,当我单击“共享”按钮徽标时,徽标没有显示。

    Code: 码:

     <div id="share" class="fb-share-button btn btn-primary" data-href="http://apps.facebook.com/bjpsupporter/" data-type="button_count"></div> <script> FB.init({ appId: '518889444896033', cookie: true, status: true, xfbml: true }); function shareWithFacebook() { FB.ui({ method: 'apprequests', message: 'Here is a new Requests dialog...' }); } 

    I dont know whats wrong in it. 我不知道这是怎么回事。

  2. Facebook URLs cannot be crawled. Facebook URL不能被抓取。 Critical Errors That Must Be Fixed 必须修复的严重错误

    I am getting this error. 我收到此错误。

    for " http://apps.everycrave.me/facebook/ " canvas url I am getting error 对于“ http://apps.everycrave.me/facebook/ ”的画布URL我遇到了错误

    "Given URL is not permitted by the application configuration.: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains." “应用程序配置不允许使用URL 。:应用程序的设置不允许使用一个或多个给定URL。它必须与网站URL或Canvas URL匹配,或者该域必须是该应用程序域之一的子域”。 these are my settings details. 这些是我的设置详细信息。

    Domain:- www.apps.everycrave.me 域:-www.apps.everycrave.me
    Canvas Page:- https://apps.facebook.com/bjpsupporter 画布页面:-https: //apps.facebook.com/bjpsupporter
    Canvas URL:- http://apps.everycrave.me/facebook/ 画布网址:-http: //apps.everycrave.me/facebook/

Please help me out. 请帮帮我。

I provided a logo of proper size 1024*1024. 我提供了尺寸为1024 * 1024的徽标。 But while i click on the share button logo is not getting display. 但是,当我单击“共享”按钮徽标时,徽标没有显示。

Its by default. 默认情况下。 The proper size logo that you are mentioning is for the app center. 您提到的适当大小的徽标适用于应用程序中心。 In the dialog, it will show the default size only, you cant do anything regarding this. 在对话框中,它将仅显示默认大小,您对此无能为力。

"Given URL is not permitted by the application configuration.: One or more of the given URLs is not allowed by the App's settings. It must m “应用程序配置不允许使用URL 。:应用程序的设置不允许使用一个或多个给定URL。

You have not properly setup the settings of your application. 您没有正确设置应用程序的设置。 Pl check whether the following settings are setup properly: 请检查以下设置是否正确设置:

  • domain
  • canvas url 画布网址
  • secure canvas ur; 固定帆布

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM