我有一个iframe FB喜欢/共享按钮。一旦我喜欢它,它停留在1,但几个小时后,它总是重置为0。如果我按下其他人喜欢的相似/共享按钮之一(25),计数器将重置为0!
<iframe
src="//www.facebook.com/plugins/like.php?href={urlencoded_url_here}&width=135&layout=button_count&action=like&show_faces=false&share=true&height=21"
scrolling="no"
frameborder="0"
style="border:none; overflow:hidden; width:135px; height:21px;"
allowTransparency="true"></iframe>这一切为什么要发生?
其他信息:
目前,我正在测试FB过去没有将!字符编码到%21,但是现在当我粘贴包含#!的URL时,"Get代码“部分显示它们也编码了感叹号。JS和PHP分别在encodeURIComponent()和urlencode()上不这样做。
发布于 2014-08-12 08:02:33
Facebook目前似乎存在一个漏洞,它会影响股票的计数值/一致性。
查看这里的bug报告:https://developers.facebook.com/bugs/684361601632430
https://stackoverflow.com/questions/25258932
复制相似问题