doujue6196 2016-03-18 09:37
浏览 70

Facebook分享按钮在某些情况下不起作用

I have a blog and I placed a facebook share button next to all my latest posts which appear on my landing page. (Title, Image, Short description, Facebook share button)

This share button looks like this:

<a href="https://www.facebook.com/sharer/sharer.php?u=http://www.myblog.fr/article-path">Share</a>

On the article page I used this meta's:

<meta property="og:title" content="{{ $title }}">
<meta property="og:type" content="actualite">        
<meta property="og:url" content="{{ $url }}">
<meta property="og:image" content="{{ $image }}">
<meta property="og:site_name" content="{{ $site }}">            
<meta property="og:description" content="{{ $description }}">

The problem is: It works on all desktops/tablets (with any facebook account) but on mobiles it works with just several facebook accounts and only the first time (if I want to share the same article again for the second time, it doesn't work).

I will exemplify below:

For this examples I will use 2 facebook accounts and 2 websites.

  1. Facebook account 1 ( our main facebook which can't share our posts on mobile multiple times)
  2. Facebook account 2 ( which work perfectly on all devices )
  3. Website 1 ( my website )
  4. Website 2 ( a random website which offers the possibility to share posts)

This tests are made only on a mobile device

Case 1: Facebook account 2 / Website 1 enter image description here Multiples shares allowed !

Case 2: Facebook account 2 / Website 2 enter image description here Multiples shares allowed !

Case 3: Facebook account 1 / Website 2 enter image description here Multiples shares allowed even if the second facebook popup looks a little different !

Case 4: Facebook account 1 / Website 1 enter image description here Multiples shared not allowed. First share works fine but the rest of them don't. When I try to press post button I get redirected to this page in case I use an adroid or a white blank page in case I use my iphone (but the url is the same): enter image description here

The complete fail url is : https://m.facebook.com/v2.3/dialog/share/submit

Mention: On my blog (Website 1) I am asked to enter a security key each time I try to share something, I don't know if it has something to do with this or not. The thing is that from one facebook account I can share multiple times and from another just 1 time. I have to disconnect and connect again in order to share another time.

Another thing that I want to mention is that if this example I used the same post to share, but even if I pick other posts I will get the same problem.

Anyone knows what is the problem here? Thanks

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 用hfss做微带贴片阵列天线的时候分析设置有问题
    • ¥50 我撰写的python爬虫爬不了 要爬的网址有反爬机制
    • ¥15 Centos / PETSc / PETGEM
    • ¥15 centos7.9 IPv6端口telnet和端口监控问题
    • ¥120 计算机网络的新校区组网设计
    • ¥20 完全没有学习过GAN,看了CSDN的一篇文章,里面有代码但是完全不知道如何操作
    • ¥15 使用ue5插件narrative时如何切换关卡也保存叙事任务记录
    • ¥20 海浪数据 南海地区海况数据,波浪数据
    • ¥20 软件测试决策法疑问求解答
    • ¥15 win11 23H2删除推荐的项目,支持注册表等