How to “Like” facebook content externally

前端 未结 5 1870
清酒与你
清酒与你 2021-02-15 15:00

So I have been playing around with the facebook like button but I have run into a problem. I have a facebook page about some charity work I\'m doing here:

http://www.fac

5条回答
  •  无人及你
    2021-02-15 15:20

    Using the like plugin:

        

    (just put in your own object id). My problem is that I can't figure out how to detect if the user has already liked the object without being logged into an app (not just logged into fb in general).

    To do this your app requires extended_permissions eg in this case it needs read_stream permission. Once you have that you can query the like table with fql.

提交回复
热议问题