Simple Facebook Connect
externally know if visitor likes my WP page (2 posts)

  1. hgraca
    Posted 3 years ago #


    I have read a lot about this and specially this thread, however your plugin interferes with another of my installed plugins, so I cant use it entyrelly.

    So, I'm trying to use some of your code but I'm having a problem I would like you to clarify to me.

    In function sfc_cookie_parse (file sfc-base.php), you have this:

    ... explode('.', $_COOKIE['fbsr_'. $options['appid']], 2) ...

    however, I dont get that cookie!
    Can you please tell me how/where can I get that cookie available in my PHP? What sets that cookie?

    Tkx in advance for any reply and for this great application.


  2. Samuel Wood (Otto)
    WordPress.org Tech Dude
    Plugin Author

    Posted 3 years ago #

    That cookie comes from the FB Javascript code. The user has to "connect" with your site to get that cookie. They can connect in any way, such as leaving comments using Facebook credentials or similar. Basically, they have to click an FB login button on the site and approve it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic