Linux 软件免费装
Banner图

Facebook

开发者 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
版权网址: 版权信息

标签

posts plugin sidebar page comments social Facebook like button like social plugins open graph friends facebook platform publish Facebook

下载

1.0 1.0.1 1.0.2 1.1.1 1.1 1.1.10 1.1.11 1.1.2 1.1.3 1.1.4 1.1.5 1.1.6 1.1.7 1.1.8 1.1.9 1.2 1.2.1 1.2.2 1.2.3 1.3 1.3.1 1.4 1.5 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5

详情介绍:

The Facebook plugin for WordPress adds Facebook social plugins to your WordPress site. Associate your WordPress site with a free Facebook application identifier to enable advanced features such as automatically sharing new posts to an author's Facebook Timeline or your site's Facebook Page. This plugin is developed by Facebook with extra support for popular plugins and themes, custom post types, and custom post statuses. Features Shortcodes Add a Like Button, Send Button, Follow Button, or Embedded Posts using a shortcode inside your post or evaluated from within your theme. You may override site-level options with shortcode attributes defined on the social plugin's page. Contributing code The development source code for this plugin is available on Facebook's GitHub account. Pull Requests and code discussion welcome.

安装:

  1. Install Facebook for WordPress either via the WordPress.org plugin directory, or by uploading the files to your server (in the /wp-content/plugins/ directory).
  2. You should be able to start using social plugins (Like Button, Send Button, etc.) right away.
  3. After activating the plugin, you will be asked to set up your Facebook application or enter existing credentials copied from the Facebook Developers site to unlock additional features such as publishing posts to an author Timeline or site Page.
  4. Optionally set up a Facebook Open Graph action with user message, mentions tagging, and explicitly shared action capabilities. See the Facebook for WordPress help page for more information.
  5. That's it. You're ready to go!

屏幕截图:

  • Facebook settings screen
  • Mention Facebook friends and pages in a custom message posted to your Timeline
  • Create a custom message published to your Facebook Timeline or Page alongside a summary of your new post
  • The resulting post published on the author's Timeline
  • Encourage social activity by adding Facebook social plugins before and after your posts
  • Facebook social plugins are available as WordPress widgets
  • Customized Like Box and Recommendations Box social plugins displayed as WordPress widgets
  • Facebook Insights showing demographics for your domain

升级注意事项:

1.5.5 Unescaped widget titles. Deprecated function update. Latest Facebook SDK for PHP. 1.5.4 Like Button share button support. Facebook Embedded Post custom width. Facebook SDK for PHP 3.2.3. 1.5.3 Delete Facebook account data from user profile. Facebook Login info in settings debug. Improve social publishing of scheduled posts. 1.5.2 Include app secret proof with Page access tokens. 1.5.1 Open Graph protocol markup for singular query types. Sign API app access token calls with app secret proof. 1.5 New Facebook account association tools. Enhanced Open Graph Protocol. Facebook Embedded Posts. WP 3.6 extras. 1.4 Support new Facebook Comment API. Improve reliability of application credential verification. WP 3.6 updates. 1.3.1 Block new comments to Comments Box posts. Improved session handling for PHP SDK. 1.3 Opt-in to the advanced features of Open Graph publishing after successful Facebook application configuration. Comments Box moved to comments template, overriding your theme's comments template for enabled post types. Existing WordPress comments displayed above Comments Box. 1.2.3 Publish to Page with app access token. Improved custom post type support. Improved publish author validation. 1.2.2 Improve performance of settings migration from old versions of the plugin. 1.2.1 Fixes an issue with author pages and Open Graph protocol. 1.2 App access token support. Mention tagging support. Explicit sharing to Facebook Timeline and/or Facebook Page. 1.1.11 Like Box widget. Improved locale selector. Bugfix publishing to a Facebook Page. 1.1.10 Improved string comparison functions for some installs. Improved support for sites without registered sidebars. 1.1.9 Subscribe Button is now Follow Button. Google Analytics social action tracking support. Gallery images included in Open Graph protocol markup. 1.1.8 Bugfix for post context on a comments filter. 1.1.7 Improved comment filters. Add post author as Comment Box admin/moderator. Hide settings error displayed if no output functions exist. 1.1.6 Debug page, og: prefixed Open Graph protocol properties, Shortcode API support for Like and Send buttons, comments improvements. 1.1.5 Fix comments enabled option improperly set on comments settings save when no post types selected. 1.1.4 Comments number filter available on all contexts when comments box enabled for one or more post types. 1.1.3 Fix recommendations bar issue and PHP issue affecting 5.2.4 - 5.2.8 installs. 1.1.2 Improved compatibility with PHP 5.2 installations. Recommendations Bar fix. 1.1 Custom post types and status support. Rewritten settings pages. Longer-lived Facebook access tokens. Async JavaScript loading. Threaded comment support. 1.0.2 Improve site performance when cURL not installed or SSL not available. Removed post meta boxes when social publishing features not enabled. 1.0.1 Security fixes. Improved customization and debugging of settings. l10n and i18n fixes.

常见问题:

How do I sign up for a Facebook application ID for my website?

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.

I am unable to save my Facebook application ID and secret

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.

How do I change the image that appears for my posts shared on Facebook?

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

I do not like the summary of my posts shared to Facebook

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.

I do not see an option to associate my Facebook account from my WordPress profile page

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.

How do I moderate comments and add reviewers?

The Comment Moderation Tool allows you to customize your Facebook application's moderators, blacklisted words, external logins, and more.

Does Facebook Comments work with my existing WordPress comments?

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.

Why do comments on a post published to my Facebook Timeline or Page not appear inside Facebook Comments Box on my post page?

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.

What additional configuration steps do I need to complete to enable an Open Graph action for my Facebook application?

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.

I set up my social plugin but nothing happened

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.

My site content is Spanish. Why does Facebook display social plugin text in English?

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.

更新日志:

1.5.5 1.5.4 1.5.3 1.5.2 1.5.1 1.5 1.4 1.3.1 1.3 1.2.3 1.2.2 1.2.1 1.2 1.1.11 1.1.10 1.1.9 1.1.8 1.1.7 1.1.6 1.1.5 1.1.4 1.1.3 1.1.2 1.1 1.0.2 1.0.1 1.0