“通过Widget共享日志应用共享一个链接”。 [英] "shared a link via Widget Share Log App."

查看:107
本文介绍了“通过Widget共享日志应用共享一个链接”。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Wordpress网站上添加了一些分享按钮(通过使用Facebook开发人员工具代码),并且每次我分享一些它附加的东西,通过Widget共享日志应用程序共享一个链接到Facebook的帖子结尾。所以当我分享它会说myName通过Widget共享日志应用程序共享一个链接我没有添加任何插件,我只是安装WordPress,然后添加了Sahifa主题,并一直在修改和设置它。任何人都有任何线索如何摆脱这个? Facebook分享代码没有任何AppID。

I added some share buttons to my posts on a Wordpress site (by using the Facebook developer tool codes) and every time I share something it appends "shared a link via Widget Share Log App" to the end of the Facebook post. So when I share it’ll say "myName shared a link via Widget Share Log App." I haven’t added any plugins, I simply installed WordPress then added the Sahifa theme and have been modifying it and setting it up. Anyone have any clue how to get rid of this? The Facebook share code doesn’t have an AppID in it or anything.

推荐答案

您需要在Facebook上创建一个应用程序ID可以请求这里[https://developers.facebook.com/]一旦你需要启动你的facebook sdk这样:

you need to create an app id on facebook you can request one here [https://developers.facebook.com/] once you have that you need to initiate your facebook sdk like this:

window.fbAsyncInit = function() {
      FB.init({appId: '{you app id}', status: true, cookie: true,
               xfbml: true});
};
(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/en_US/all.js#xfbml=1";
         fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));

这就是

这篇关于“通过Widget共享日志应用共享一个链接”。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆