开发者 |
Facebook
automattic niallkennedy mattwkelly rgharpuray ngfeldman jamesgpearce ravi.grover danielbachhuber gigawats eosgood Otto42 colmdoyle zazinteractive |
---|---|
更新时间 | 2014年3月12日 07:56 |
PHP版本: | 3.3 及以上 |
WordPress版本: | 3.9 |
版权: | GPLv2 |
版权网址: | 版权信息 |
[facebook_like_button]
[facebook_send_button]
[facebook_follow_button href="{$facebook_profile_url}"]
[facebook_embedded_post href="{$facebook_post_url}"]
/wp-content/plugins/
directory).You may create a new Facebook application or edit your existing Facebook application through the Facebook Developers application interface. You may first need to signup for a Facebook Developer account.
Some webmasters have reported issues saving Facebook application ID and secret information in the Facebook settings page. These inputted values are verified with Facebook servers before saving, requiring an HTTPS request to Facebook servers. Some sites experiencing issues have identified their server's bundled SSL certificates as an issue; returning false for the https_ssl_verify
filter used by the WordPress HTTP class may help fix server-to-server communication issues if updating your cURL or other libraries is not an option.
The plugin generates Open Graph protocol markup for your site's webpages including a explicitly-specified images generated from the post thumbnail, attached images, or gallery shortcode. Your plugin or theme may define additional images through the fb_meta_tags
filter. If an image or images already exists your additional image may be used as an alternate for stories shared through a pasted link. Unattended story summaries such as a Like Button click use the first defined image. support sticky
Facebook generates a story summary for pasted links and new posts sent to your Timeline or Page based on metadata found on your page. The Facebook plugin for WordPress generates Open Graph protocol metadata to assist Facebook's understanding of your webpages. The Facebook URL debugger provides a view into Facebook's representation of your webpage and relevant extracted metadata. Test URLs of interest in the debugger to better understand how your page might be represented on Facebook.
Make sure your Facebook application is properly configured for Facebook Login including the correct app domain and website URL. The Facebook debug settings submenu item in your WordPress administrative interface highlights some common issues.
The Comment Moderation Tool allows you to customize your Facebook application's moderators, blacklisted words, external logins, and more.
The Comments Box social plugin is meant to replace the WordPress commenting system with a more social, client-side experience. We do not currently support synchronizing comments stored on Facebook with comments stored in your WordPress database. Posts with existing WordPress comments will display those comments followed by the Facebook Comments Box.
The Facebook Comments Box social plugin is a separate commenting system associated with a URL regardless of your authors' decision to post to his or her Facebook Timeline or your site's Facebook Page.
Visit the Facebook plugin for WordPress getting started page for more details and screenshots of each step in the process. You will need to create an Open Graph action-object pair for your Facebook application: publish an article. You will need to submit the new publish action for approval with support for action capabilities allowing custom messages on an author's Timeline, mentioning Facebook friends and Facebook pages within that message, and marking the new post as explicitly shared.
Some social plugins require a URL representing a specific Facebook feature: the Follow button accepts a person's Timeline URL; the Like Box accepts a Page URL. Try configuring similar parameters through the appropriate Facebook social plugins page to view a preview of what to expect on your WordPress site after a successful configuration.
The Facebook plugin for WordPress examines your WordPress locale and chooses the most appropriate match from a list of Facebook locales. You can act directly on the fb_locale
filter for more exact control.
It's possible another plugin (or your theme) including an English version of the Facebook JavaScript SDK before the Facebook plugin for WordPress tried to include the Spanish version of the same SDK. View source on the affected page and search for "connect.facebook.net" to locate multiple possible attempts to load the Facebook JavaScript SDK.
$wpdb->escape()
with esc_sql()
og:image
s. Convert YouTube and Vimeo embeds to Open Graph media objects for video post formats.get_comments_number
function response now includes the number of comments for a post stored on Facebook serversfacebook_comments_wrapper
filter for more details.moderate_comments
capability an admin of the individual page, granting comment moderation capabilities on Facebook for the postfacebook_ogp_prefixed
filter