2016-12-06 101 views
-1

我想添加一个功能到我的网站(在WordPress中创建 - PHP),当用户点击按钮后,他将获得20分的Facebook,Google + ,Twitter,Pinterest,YouTube,Instagram。如何获得G +的响应按钮

Attached is my design how I want.

+1

以任何方式对以下的Facebook用户奖励不允许。你应该阅读平台政策。另外,你的问题对于stackoverflow来说有点太宽泛,你需要展示你到目前为止尝试过的东西。 – luschn

+0

成功后,我没有得到任何回应如何得到回应后,在twitter成功后续? – Aastha

回答

0

对于Google+的后续按钮:没有回调按documentation

对于的Facebook:使用FB.Event.subscribe

+0

我只使用这个,但事件正在被解雇,但在追踪之后,我没有得到任何回应。 twttr.events.bind('follow',function(event){ console.log(event); //关于后续代码 }); – Aastha

+0

成功后,我没有得到任何回应 如何获得成功后的响应在twitter后? – Aastha

+0

@Aastha我很抱歉,这似乎没有从2015年结束支持.. 尝试使用twitteroauth作为替代.. –