开发者

Facebook comment plugin for website and registered users

I'm using Facebook registration for my website and I'm also using Facebook comments plugin on several pages on my website. I want to only allow registered users to comment. I don't want to simply hide the co开发者_Python百科mments if they're not registered. I want them to see the comments but only be allowed to add comments if they are registered. Any ideas?


If the user is registered, show the comment plugin like normal. If they aren't registered, you could use the graph api (https://graph.facebook.com/comments/?ids=http://www.example.com) to pull the comments and render them yourself and style them to look similar to the Facebook plugin.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜