WordPress.org

Ready to get started?Download WordPress

Forums

WP-OGP
wp-ogp breaks like button (1 post)

  1. Armin Ro?u
    Member
    Posted 3 years ago #

    WP-OGP breaks the like button upon update to 1.0.5; Took me a while to figure this out.

    Basically, when you hit the like button, a couple of seconds later, it returns an error, seeming to unlike itself. Nothing appears in the user stream.

    http://www.facebook.com/ajax/connect/external_node_connect.php?__a=1 returns the following (I formatted the json for readability, it actually is a single line):

    for (;;);
    {
        "__ar": 1,
        "payload": {
            "requires_login": false,
            "error_info": null,
            "show_error": false,
            "node_type": "ExternalLink",
            "node_id": "10150275893301291",
            "edge_type": "ExternalLinkLike",
            "connect_text": 0,
            "success": false,
            "already_connected": false,
            "user_profile": {
                "name": "Suzi",
                "profile_url": "http://www.facebook.com/profile.php?id=100001925357142",
                "pic_square": "http://profile.ak.fbcdn.net/hprofile-ak-snc4/161576_100001925357142_2340395_q.jpg"
            },
            "story_fbid": null,
            "is_admin": false,
            "admin_url": ""
        }
    }

    Note:
    This error is for the xfbml button, though the issue manifests itself the same with the iframe button, setting or not of a facebook app id (tag or script source).

    Solution:
    Revert to 1.0.4

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic