如何使用real image post与facebook共享?

2024-10-03 15:22:03 发布

您现在位置:Python中文网/ 问答频道 /正文

我有一段时间想在我的django博客应用程序中与facebook分享一篇文章,但每次我发现问题时,treid都会将其与pic个人资料共享,而不是与image post共享。。。请帮帮我 这是我的应用程序的链接,treid分享一些帖子,你知道到底是什么问题吗 链接:http://mazaridz.pythonanywhere.com

article.html

 <div class="text-center center-block">
            <p class="txt-railway" style="font-family: 'Cairo', sans-serif;"><a href="{{art.source}}">مصدر المقال</a>
                           <p>
            <p class="txt-railway" style="font-family: 'Cairo', sans-serif;">مشاركة المقال</p>
                    <hr>
                     <br />

           <a href="https://www.facebook.com/sharer/sharer.php?u=http://mazaridz.pythonanywhere.com/article/{{art.id}}/{{art.slug}}"><i id="social-fb" class="fa fa-facebook-square fa-3x social" target = ""></i></a>

           <a href="https://twitter.com/home?status={{request.build_absolute_url}}%20{{share_title}}"><i id="social-tw" class="fa fa-twitter-square fa-3x social"></i></a>
          <a href="https://plus.google.com/share?url=mazaridz.pythonanywhere.com/article/{{art.id}}"><i id="social-gp" class="fa fa-google-plus-square fa-3x social"></i></a>
         <a href="mailto:bootsnipp@gmail.com"><i id="social-em" class="fa fa-envelope-square fa-3x social"></i></a>
 </div>

enter image description here


Tags: httpscomid应用程序facebookarticlesocialclass