doubo4336 2015-08-20 17:52
浏览 60
已采纳

如何在登录时禁用Facebook页面插件重定向

I am putting in a Page Plugin from Facebook on my companies' site. https://developers.facebook.com/docs/plugins/page-plugin

Our company has different pages for different countries. When we attempt to display the feed of a different country AND the user is logged into facebook, they only see the Country of the page of the person who is logged in. For instance, I set a page to display a Germany Feed. Logged out, I see the German Feed as intended. Logged in, the feed on the page redirects the request to show the US Feed on our page.

I want to FORCE Facebook to show the intended Countries' Feed and NOT have it redirect. (We want our customers to see the other countries feeds intentionally.)

Code as implemented on the page:

    <div id="fb-root"></div>
<script>
    (function(d, s, id) {
        var js, fjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) return;
        js = d.createElement(s); js.id = id;
        js.src = "//connect.facebook.net/de_DE/sdk.js#xfbml=1&version=v2.3&appId=133972420061588";
        fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));
</script>

<div class="fb-page" data-href="https://www.facebook.com/convergysGermany" data-width="500" data-height="455" data-hide-cover="true" data-show-facepile="false" data-show-posts="true">
    <div class="fb-xfbml-parse-ignore">
        <blockquote cite="https://www.facebook.com/convergysGermany">
            <a href="https://www.facebook.com/convergysGermany">Convergys</a>
        </blockquote>
    </div>
</div>
  • 写回答

1条回答 默认 最新

  • dpge74512 2015-08-24 15:47
    关注

    This isn't currently possibly but we're tracking this feature request internally.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥50 汇编语言除法溢出问题
  • ¥65 C++实现删除N个数据列表共有的元素
  • ¥15 Visual Studio问题
  • ¥15 state显示变量是字符串形式,但是仍然红色,无法引用,并显示类型不匹配
  • ¥20 求一个html代码,有偿
  • ¥100 关于使用MATLAB中copularnd函数的问题
  • ¥20 在虚拟机的pycharm上
  • ¥15 jupyterthemes 设置完毕后没有效果
  • ¥15 matlab图像高斯低通滤波
  • ¥15 针对曲面部件的制孔路径规划,大家有什么思路吗