Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Facebook Like Button NOT updating likes WordPress

Hi before updating to 3.3.1 my Facebook like button for posts worked great. Now that I have updated that is the only thing giving me problems. When you like a post it registers and it shows up on the person wall but the amount of likes on my website dos not update. It goes from 1 to 0 after you reload. I have tried to lint/debug the webpage and the website and then like my post but it has not worked. I think it has to do with the permalink's being changed since my old posts are working fine, its just the new ones that are giving me problems.

Could someones please help me out on this, maybe i'm debugging the webpage wrong or something else is an issue. Any help would be greatly appreciated!

Thank you and the website is incpire.com

Answers (2)

2012-01-16

Francisco Javier Carazo Gil answers:

Hi Badart,

I have tested and there's no problem in console. I can see the problem and I can see you are not the only who suffers it:
* http://wordpress.org/support/topic/updated-to-331-but-now-facebook-widget-dont-work
* http://premium.wpmudev.org/forums/topic/ultimate-facebook-not-working-with-wordpress-331

Luck!


badart97 comments:

Could you please tell me how to do allow app_id. I don't really know where to start to do that.


Francisco Javier Carazo Gil comments:

Hi,

You can get an app_id for Facebook here: [[LINK href="http://designpx.com/tutorials/create-facebook-app/"]]http://designpx.com/tutorials/create-facebook-app/[[/LINK]]

2012-01-16

Julio Potier answers:

Hello

Go to your "Permalink settings" and save again the page to reload rules.

Try again then

See you !


badart97 comments:

How would you do this? I am using a custom structure of /%category%/%postname%/

Even on default permalinks the new posts after 3.3.1 still do not update likes


Julio Potier comments:

Just save the permalink settings page.


badart97 comments:

Saving the settings page did not solve the problem. Any more input would be appreciated


Julio Potier comments:

When i click on Like, the ajax response is :
"App ID does not match domain.
The application identifier specified in the meta tag "app_id" is not allowed on the field. You must configure the core areas of connection for your application with the prefix"

So, the ball is in your side ;)


badart97 comments:


Could you please tell me how to do allow app_id. I don't really know where to start to do that.


badart97 comments:


Could you please tell me how to do allow app_id. I don't really know where to start to do that.


Julio Potier comments:

I don't know, your "Like" button, is it a plugin ? Do you have a settings page ?


badart97 comments:

yes its the plustwitlike plugin, and yes their is a settings page but no place to input the add id.


Julio Potier comments:

Look in the plugin code, i found :
wp_enqueue_script( 'fbXFBML', 'http://connect.facebook.net/en_US/all.js#appId=142814925805659&xfbml=1');

This have to be changed i think, search on FB forum or contact plugin author, i can't help you on FB issues, sorry !

I hope i helped you ;)

<em>ps : as Web Security Consultant, i do not recommand to use this plugin because it's affected by CSRF vulnerability.</em>