Publish a message on facebook after having posted a comment

I would like some advice on how to improve the code I use for allowing people to comment posts. Users can only submit a comment if they are connected with Facebook. I started developping this feature directly in the comments.php template. It works but there is another feature which permit people to publish a message … Read more

The calling thread must be STA, because many UI components require this

I am using http://www.codeproject.com/KB/IP/Facebook_API.aspx I am trying to call the XAML which is created using WPF. But it gives me an error: The calling thread must be STA, because many UI components require this. I don’t know what to do. I am trying to do this: FacebookApplication.FacebookFriendsList ffl = new FacebookFriendsList(); But it is giving … Read more

Allow Facebook to preview posts before published

I want to allow Facebook (user agent facebookexternalhit) to access scheduled posts before they’re published, so it can access meta information in order to schedule a status. Currently I temporarily publish posts, schedule Facebook statuses, and then unpublish and schedule posts via WordPress. When a WordPress post is scheduled, editors can access the pre-published page … Read more

WordPress 4.4 release produce blank white images when sharing a post on Facebook etc

After upgrading to 4.4, when I share a post via URL to Facebook, G+, the “Featured Image” shows as a blank white image on the Facebook post. Looks fine on the WordPress site. Some testing shows that WordPress sends the full resolution photo to Facebook, so maybe it’s too large for Facebook? I suspect something … Read more

Displaying additional User Contact Information

I have been advised how to add additional contact info fields to the User admin area here (Click here). However, I am not entirely sure how I can display the the field contents in a link within my template files. Here is the code in my functions.php: add_filter( ‘user_contactmethods’, ‘more_contactmethods’ ); function more_contactmethods( $contactmethods ) … Read more