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.

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

报告相同问题?

悬赏问题

  • ¥15 WPF使用Canvas绘制矢量图问题
  • ¥15 用三极管设计一个单管共射放大电路
  • ¥20 fluent无法启动
  • ¥15 孟德尔随机化r语言运行问题
  • ¥15 pyinstaller编译的时候出现No module named 'imp'
  • ¥15 nirs_kit中打码怎么看(打码文件是csv格式)
  • ¥15 怎么把多于硬盘空间放到根目录下
  • ¥15 Matlab问题解答有两个问题
  • ¥15 LCD12864中文显示
  • ¥15 在使用CH341SER.EXE时不小心把所有驱动文件删除了怎么解决