I just launched round-trip tagging on 944.com, and as far as I can tell, I’m the first developer to come out with this feature.
It works the same way as Apple’s implementation in the upcoming iLife ’09 release, scheduled for the end of January.
Here’s how it works:
- The user clicks on ‘Share with Facebook’ on any of the gallery pages.
- If the user has not yet added the 944 Facebook application, they are prompted to do so. Then the user is taken back to the photo page, and the photo is added with an AJAX call. If there is an existing ‘944 Events’ album, it puts it in there by default, otherwise it creates a new album with that name.
- The user is then given a link to the album (since all photos uploaded with the API go into a pending status, unless the photo_upload extended permission is set), as well as a link to adding this extended permissions to bypass this approval process in the future (and also allow me to sync the tags from 944.com to Facebook).
- I set up a cron job to run every hour to get the list of tags from the Facebook photo that I uploaded through the API, and add any new tags to the photos on 944.com. This is where you have to use the infinite session key that I wrote a how-to for a few days ago.
- At the same time, any new tags made on 944.com are also added to Facebook, checking to see if the tagged person is also a friend of the person who added the photo to Facebook, and if not the tag is added as a non-Facebook account (just the person’s name).
- Any photos which are deleted on Facebook are set to inactive on the local database so as not to needlessly flood the Facebook servers.
And yes, this does potentially mean fewer pageviews on 944.com, but the photos that are uploaded are watermarked, and the potential reach of posting natively into Facebook albums far outweighs any negative aspects.
I’ll report back in a week or so when I see how much this has improved our Facebook referral traffic, as well as direct traffic (from the watermark in the corners) — it’s already been climbing exponentially since introducing tagging via Facebook Connect and automatically posting a linked thumbnail of the photo to taggers’ walls.