Archive for Tag ‘Release‘

WPBook 2.2.1

Try Again (Photo by Samantha Marx, cc-by license, http://www.flickr.com/photos/spam/3355834452/)

Spent some quality time this weekend with WPBook. As a result, I just released version 2.2.1. (There was briefly a 2.2 release, but something was corrupted in that version of the SVN repo, so use 2.2.1 instead).

Included in 2.2.1:

  • Read More is back. Re-enabled the “Read More” action link. Unfortunately, because of a Facebook API bug wpbook can’t add more than one action link to a post, so no “share” button on wall posts until that is fixed. (Facebook doesn’t add the Share link automatically to posts from the Graph API and there’s currently no way to make that happen other than manually adding it as a link, but I think the “Read More” link is more important.)
  • Post to Group Walls. Added posting options for Group walls, and comment import form Group walls. Because of the way the Facebook API has changed, posting to a Group feed is distinct from posting to a Page’s feed, and requires different syntax.
  • Controlled debugging. Limit the size of debug files created to 500k, so that users who enable debugging and then forget won’t have an unlimited file growing every hour. Also made the debug constant more specific to WPBook so as not to interfere with other plugins potentially using DEBUG as a constant
  • Fopen errors. Clean up DEBUG for cases where permissions fail or file is not writeable
  • Facebook::$CURL_OPTS . Made “disable ssl verification” an option so that only users who need it will have it and others won’t get conflict
  • Required fields are required. Cleanup to the admin screens in general, more clarity around what is required and better language on the admin screens about what is being checked. (Thanks BandonRandon for patches)
  • Better check permissions. Improved “Check permissions” page, to show what options mean and enable links to view profiles, pages, links to validate IDs are correct.
  • Added wpbook logo which had been missing
  • Fix for get_themes() issues with WordPress 3.0.1 through 3.0.5

I realize from the activity in the forums that many users are having trouble with the 2.1 and later WPBook – but I believe all the known errors have been fixed, and most are due to misconfiguration.

A few configuration notes that might help:

  1. Your application ID, secret, canvas URL, and Profile ID must be correct or nothing else is going to work. If you load your application canvas page and you don’t see the WPBook theme, but see just your blog in an iframe (unchanged), then something is wrong in your Facebook Application setup, your WPBook setup, or in a plugin conflict.
  2. Your personal FB profile is absolutely required, even if you don’t plan to publish to your profile’s wall. It is through the FB profile that the access_token for publishing to pages is retrieved. If your FB profile ID is wrong, nothing else is going to work.
  3. Any time you change the Profile ID, the Page ID, or the Group ID to which you are trying to publish, you must visit the Check Permissions page and will most likely need to regrant permissions. Again, if permissions aren’t working, nothing else is going to work.

If you’re stuck, please open a new thread in the wordpress forums and provide the following debugging info:

  • The URLs of your Facebook Application and your blog outside FB
  • The contents of your check permissions page – verbatim
  • What you are trying to publish to – profile, page, group – by ID and by URL
  • What error messages you are seeing, in the WordPress interface and/or in the PHP error log

With the right information, we will be able to get it working.

Thanks

WPBook 1.5.2 released

I’ve just tagged and released version 1.5.2 of WPBook, which should be available for download by the time you read this.

In this version:

  • Plugin now checks for PHP 5 at activation, will not allow activation under PHP4
  • Checks for zero pages of which user is admin (avoid edge case exception)
  • Added link to installation instructions to permissions page
  • Added offline-access permission request (some users had not yet granted this permission)
  • Added “show errors” mode, which when enabled traps exceptions thrown by the Facebook client and shows them to the user

Not really a required upgrade, but it should help folks having trouble, and won’t cause trouble for others.

I will also now close comments on the existing 1.5 release blog post, as it is now out of date.

In general, I’d prefer not to use comments for troubleshooting anyway – please use the support forums for those kinds of items instead.

Thanks

WPBook 1.3 Released: Improved Admin, Bug Fixes – Last PHP4 release

Quick Update: I just (3/27) released 1.3.1, a quick bug fix update. Details in the readme. Recommended for all users – still supporting PHP4 in this bugfix release, as I haven’t started on 1.4 yet.

I’ve just checked the code for version 1.3 of the WPBook plugin into subversion, which means it should shortly be available for auto-update in your dashboard/plugins page, or for download here. (Remember that your dashboard/plugins page only checks once each 24 hours for new plugins, so you may not see it until tomorrow).

wpbook_logo

Changes in this release:

Read more…

WPBook 1.2 Released

(Updated: 1.3 has been released, so I’ve disabled comments here – please raise any still open issues there.)

Just checked in changes for WPBook version 1.2 – get it from the WordPress Plugin Directory or on this blog.

The biggest change here from 1.1.1 (and why I decided to make it 1.2 rather than 1.1.2) is a change to the mechanism used to create the user profile boxes. Although it worked for some users, the previous method (relying on an fb:ref url pointing to the recent_posts.php page inside the WPBook theme) was at best inconsistent, and could even cause uncaught exceptions.

The new mechanism, which sets the profile FBML in a function and uses an fb:ref handle to refresh it, seems to be more generically robust and should improve things, especially for anyone who had the “No content to display” error when trying to add the profile box to the profile.

Also in this release are some administration page improvements (thanks Brandon) and timestamp on posts.

As always, comment below if you have issues, and if you get your blog setup using the plug please leave a comment on this page.

WPBook: WordPress Facebook Plugin Goes 1.0

UPDATE 2 (1-28-09): Seems that the WPBook plugin conflicts with the BadBehavior plugin – I’m looking into options to see if the conflict can be eliminated, but if your WPBook install is not working try disabling BadBehavior.

UPDATE (1-26-09): As noted in the comments below, there is a bug in the copy of the Facebook library included with the Sociable Facebook Connect plugin. If you’re using that plugin, you’ll need to patch their copy of the Facebook client library as follows.

Change line 170 of /wp-content/plugins/fbconnect/facebook-client/facebook.php from:

http_header('Location', $url);

To:

header('Location', $url);

This will eliminate the conflict between these two plugins.
(End UPDATE)

Today I’m releasing version 1.0 of WPBook, the WordPress plugin for embedding your blog in Facebook.

If you have earlier versions installed, you should see an auto-update notification on the plugins page of your WordPress dashboard. (Note that WordPress checks for updates only every 12 hours).

This version includes the following new features:

Read more…