fb share site shows blank image
fb share site shows blank image
fb share site shows blank image
How can I echo og:video url, if the post has video content?
Remove Jetpack’s publicize description with this code. Add this code to your theme’s functions.php // Remove description of posts on social share if ( class_exists( ‘Jetpack’ ) && Jetpack::is_module_active( ‘publicize’ ) ) { function tsj_publicize_hashtags() { $post = get_post(); if ( ! empty( $post ) ) { $custom_message = get_the_permalink(); update_post_meta( $post->ID, ‘_wpas_mess’, $custom_message ); … Read more
Posting to Facebook via WordPress – 500 Internal Error
Send Facebook server-side event using shortcode and Official Facebook Pixel plugin
You have a number of halfway options, but there is nothing that directly matches your requirements. That is because this is not something Facebook provides. Copy Paste Manual embedding Screenshots OEmbed Other software may claim to do this but it is a simulation/illusion, and will rely heavily on bespoke customisation, it isn’t really a facebook … Read more
You need to include their Facebook SDK in order to utilize fbml. FBML is also deprecated for use of xFBML. In this case, i would just recommend picking a wordpress / facebook plugin for what you need to do. As what you’re trying to do in code isn’t that simple.
You need to use a Plugin that manipulates the data sent via the Facebook Open Graph Protocol, e.g. Facebook Opengraph. There are several others, also. Related Posts How to control Facebook share information for the front page? Facebook is only displaying preview thumbnails that are 100px from my posts? Facebook sharing link is not showing … Read more
The plugin offers an entry point for this manipulation: $userdata = apply_filters(‘AWD_facebook_register_userdata’, $userdata); So, now it’s a matter of you filling up the fictional function in this example: add_filter( ‘AWD_facebook_register_userdata’, ‘user_role_wpse_87863’, 10, 1 ); function user_role_wpse_87863 ( $userdata ) { $userdata[‘role’] = your_way_of_getting_the_role(); return $userdata; } Related: About Hooks and Filters Actions and filters are … Read more
I decided to use the built in Facebook sharer and Twitter sharer links, as provided on each site. It won’t give complete functionality, but it it’s perfect for a simple custom icon. Note: This will only work properly within ‘the loop’ HTML code to be inserted in your page template: <div class=”social_icons”> <a href=”https://wordpress.stackexchange.com/questions/125838/javascript:window.print()” target=”_blank” … Read more