.
Jeffrey’s “Export to Facebook” Lightroom Plugin
Quick Links
· Latest Download:
     facebook-20081204.48.zip
· Version History
· Installation instructions
· More Lightroom Goodies
· My Photo-Tech Posts
· My Blog

This Export-to-Facebook plugin is new for Lightroom 2.0 and later, and is not compatible with Lightroom 1.

Note: the Facebook API currently allows only uploading to personal pages, and does not allow uploading photos to business pages, and as such, your business-page galleries will not show up in the Lightroom plugin.

Please see the known issues before reporting bugs. If this is your first look at my export plugins, please see the announcement post for an overview and some important information.

Version History

20081204.48Try to work around a fairly rare Lightroom bug that sometimes causes large exports to fail with the note Whoa, exported image doesn't exist after waitForRender by pausing for a few seconds to see whether the image shows up. If not, then you still get the error and the export fails.
20081127.47The counting of previous uploads (for the All/Update/New of the Upload Destination section) was not working right.
20081125.46Another fix for a bug that had disabled plugin presets (for captions, etc.)
20081124.45Perhaps fixed a problem whereby the "Upgrade Now" button didn't work for some Windows users. We'll see whether it works when those users upgrade from this version to whatever version is next.
20081123.44Fixed a plugin crash when using the plugin's built-in preset system.
20081122.43Try to better report errors, such as "album full", when an upload fails. No problems from the upheaval recently, so pushing back the expiration a bit.
20081117.42Oops, wouldn't let you log in / authenticate if you weren't already. Doh. Fixed.
20081117.41No new functionality in this version, but a huge upheaval in the underlying code to repair an unfortunate design choice I made early on in the development that had limiting consequences I'd not foreseen. There are likely bugs introduced in this version, and as such, it has a short expiration date to encourage updates as those bugs are reported and fixed. If you do run into an error, please send (via email) the log referenced in the upper-right of the Plugin Manager. Thanks.
20081114.40Woo-hoo, finally(!) fixed (I think) the logout/login/restart-and-cross-your-fingers problem.
20081114.39More debugging info to the log.
20081113.38Fixed yet another list-of-upload-destinations bug. There are sure a lot of edge cases here.
20081111.37Fixed a crash that happened sometimes when there are not yet any preexisting destinations at Facebook.
20081110.36Added a bunch of debugging stuff to help diagnose a problem that I've not been able to reproduced myself. If you get a “ref.value is nil” error dialog, please send me the debug log referenced in the upper-right section of the Plugin Manager.
20081103.35I don't know what's causing the slew of networking problems that have been reported, but I've gone ahead and added a retry mechanism. It'll retry operations that failed due to network problems indefinitely, but you can cancel out of the retrys if you like. If the problems are some kind of flakiness on the machine (somehow introduced in LR2.1???) this may allow operations to complete.
20081031.34Now works properly with the shadow GPS data maintained by my geo-encoding plugin.
20081022.33Addressed (and perhaps even fixed) a bug introduced in the previous build.
20081022.32Added back the "Metadata" section, which was one that was removed in .30. Sorry for the hassles.
20081021.31Small update so that a stuck background version check does not disable the plugin. Added a message in the login area with instructions on how to use the plugin with multiple accounts. Added the ability to put the "select at time of export" item at the top of the destination list, as had been requested a few times. Added some items to the template language that had inexplicably been missing: {HH}, {MIN}, {hh}, {min}, {ss}.
20081015.30Removed a bunch of sections from the export dialog (export image type, size, colorspace, metadata, etc.). When uploading to Facebook, the same selections are always needed, so it makes the presentation simpler to remove the option to change them.
20081011.29Removed the "delete previous versions" option, because Facebook doesn't allow an application like this to delete photos. Internal change to the user-agent string that the plugin sends when uploading, to better conform to accepted web standards.
20080924.28I created a "Metadata Management" section in the dialog, and moved some things into that from other sections. Fixed a race condition that sometimes caused the export destination to not appear in the synopsis of a closed "Upload Destination" dialog section. Moved the items in the "Upload Management" section into the "Upload Destination" section, since they are really quite related.
20080923.27Sigh, just realized that the "check for new version" stuff did break in 2.1. Totally my fault, sorry. Fixed.
20080921.26Oops, the ability to use my template tokens in the 'extra keyword/tags' area, that I added last week, didn't actually recompute the tags on a per-image basis, applying the tags computed for the first image to all the others. That's now fixed, and tags are recomputed with each image.
20080920.25Enhanced the {Rating} token to allow {Rating=*} to create "*****" through "". You can put most anything instead of the asterisk, so you might consider {Rating=great } to end up with "great great great". Since these forms result in nothing for an unrated photo, you can use the "|" pipe to provide a default "when empty" value, such as "rating": {Rating=*|"unrated"}
20080918.24Added the ability to use template tokens like {Filename} in the "extra tags" input box.
20080916.23Update an error message to reflect an apparent bug in LR that causes LR to hand off a file to my plugin for upload before the file is actually available. This seems to happen when using LR/Mogrify or other filters. Updated the url shown in the "status" section of the plugin manager (what I thought I fixed in .18).
20080916.22Finally have the upgrade button working on both Win and Mac. Since I returned home last week, I now have access to both kinds of machine for the first time since LR2 was released. I can sum up the 5 hours I spent wrestling with the unzip code in three word: I hate Windows. Microsoft owes me five hours of my life back. Note that you may have to install this one by hand in order to get the newly working upgrade button... it's the next upgrade that should be easy-as-click.
20080914.21Added a few more descriptive tooltips to the example-token dialog
20080914.20Oops, fixed a boo-boo introduced in the previous version.
20080914.19Remember (again) the upload-destination across exports. It used to work, and I'm not sure when it stopped working, but it must have been really annoying while it was broken, sorry.
20080914.18Fixed tokens "OriginalWidth" and "OriginalHeight" in templates. Fixed the "home page" url. Added a bunch of new template tokens and a new token filter. Added a token-examples button, which brings up a dialog listing all tokens and their value for an example photo (the first photo in the export list).
20080905.17Fixed an "undefined global: DestinationSynopsis" error that could happen when using a preset with a "select at export time" upload-destination setting
20080831.16Handle a race condition in the upgrade logic that sometimes results in a superfluous "You have version XYZ, but version XYZ is now available" message
20080829.15Added a bunch of new items to the template language.
20080829.14Oops, left some debugging cruft that results in an "empty" dialog if the logged-in-user has no galleries or the like. Fixed.
20080828.13Minor tweaks
20080828.12A few more tweaks to report a failed upgrade attempt a bit more clearly
20080828.11Whoo-hoo, finally figured out the "assert" problem that some people without albums were having. When upgrading, ignore a status of “50” (which means “out of disk space”) from the unzip the plugin performs. It seems Windows often reports this status even when there's plenty of disk space left, so until I can understand it better, I'll just ignore that code.
20080827.10Fixed the Caption {Filetype} token (was broken for DNGs). Made some Layout tweaks in my preset dialogs. Added titles to the tools sections (were missing on OSX)
20080817.9Lots of little tweaks as I cleaned things up. Added a bunch of stuff to the Plugin Manager, including a “What's New” button that shows up next to the “Upgrade Now” button when a new version is available.
20080814.8Fixed infinite cycle of 'assert' messages one might get in odd situations. A few small typographic nits. I'm not sure why the choose-at-time-of-export dialog also includes the selection "choose at time of export" (it shouldn't), but until I can figure it out, I've added a special check to abort the export if a real destination hasn't been selected.
20080812.7Fixes (I hope) a "bad argument #1 to '?' (table expected, got nil)" error
20080811.6Moved and renamed the debugging logs to a temporary folder, and added log Show/Delete buttons to the plugin's custom section of the Plugin Manager.
20080806.5Fixed {State} and {Rating} in preset templates.
20080805.4Oops, the Windows versions had lost the ability to upgrade themselves. Once this version is installed manually, subsequent versions should be able to upgrade as discussed here.
20080804.3Fixed "Access to undefined global: LrError" error that happens when trying to report a login-related problem.
20080804.2Fixed a couple of internal errors related to the "choose destination at time of export" feature
20080729.1Initial public release

Comments so far....

If I use the export dialogue box - wait for LR to login to Facebook- then click export i get:
Info
At line 12998 popup.
Then to the “choose dest. for image” which doesn’t pull down any album names (it does login in the export dialogue before though.) then clicking export it closes but nothing happens/gets uploaded. Suspect this is due to the New facebook pages?

If I use the File-Export menu in LR 2 I get the same error as doing so for Flickr:
Unable to export:
can’t log in to Facebook: missing credentials

I think I’ve fixed the first and third of the issues you mention, as of version .2. I’m not sure about the middle issue yet. —Jeffrey

— comment by Daniel on August 1st, 2008 at 2:51am JST (4 months ago) comment permalink

AWESOME! thank you!

— comment by sastian on August 3rd, 2008 at 5:41am JST (4 months ago) comment permalink

When I try to upgrade your plugins using LR 2.0, I consistently receive an error message related to unzipping the new archive. Here’s what it says in the log:

Command: “”C:\Documents and Settings\Michael\My Documents\My Pictures\Lightroom\Plugins\facebook.lrplugin\Win\unzip.exe” -o “C:\Documents and Settings\Michael\Local Settings\Temp\facebook.zip” -d “C:\Documents and Settings\Michael\My Documents\My Pictures\Lightroom\Plugins”> “C:\Documents and Settings\Michael\Local Settings\Temp\lr-plugin-unzip-log.txt”"

exit status is 1 (0×00000001)

My hunch is that there is a problem with the command unzip.exe. I don’t see that file in the Win folder within the plugin and it’s not in the original archive I downloaded.

Doh, you’re right! Fixed in .4 —Jeffrey

Thanks for making great plugins!

— comment by Michael on August 5th, 2008 at 8:53pm JST (4 months ago) comment permalink

It’s seams that don’t work with my windows vista and lightroom 2, I have a mistake

— comment by RJ on August 6th, 2008 at 6:47am JST (4 months ago) comment permalink

Ok, I find the problem. The plugin don’t support my charset. Ex :

Plug-in error log for plug-in at: C:\Users\Michaël Silvestre\Documents\Lightroom\plugin\facebook-jfriedl.lrplugin

I make a test and I must remove “é, ë, è, à, …” and the installation can begin

I don’t understand what you mean… from what did you have to remove those characters? From one of the folder names? —Jeffrey

— comment by RJ on August 6th, 2008 at 6:53am JST (4 months ago) comment permalink

No error messages except for the original folders not appearing in the list for this plugin, I click export and nothing seems to happen, no photos exported nor arrive at Facebook. Nothing in the log either - anyone else have this problem or is it fine for all except me?

— comment by Dan on August 7th, 2008 at 12:32am JST (4 months ago) comment permalink

I get the following several times.

Error response from Facebook:
Error uploading image: no photo id.

Any ideas?

I finally think I figured this out… I wasn’t reading Facebook’s error message properly, and so if there was an error such as “your album is full”, you’d get this not-very-helpful error from my plugin. Fixed in version .43 —Jeffrey

— comment by Juan Diosdado on August 11th, 2008 at 2:15pm JST (3 months ago) comment permalink

Your Facebook plugin is not reading my Facebook photo albums. And when I try to get it to create a new one, it just doesn’t…

So, it’s not working for me. Bummer.

It DID work for me the other day, just fine. But now it’s not reading my albums…

— comment by Keith Rowley on August 11th, 2008 at 2:40pm JST (3 months ago) comment permalink

Same problem here. Painful workaround was to logout from plugin, restart lightroom, authenticate again, then it works as normal. Until you start up lightroom again the next time and same thing happens. rinse and repeat. painful but better than exporting, then uploading manually.

— comment by Sean Ong on August 14th, 2008 at 3:37pm JST (3 months ago) comment permalink

This is FANTASTIC! Huge thanks!

— comment by Mike on August 16th, 2008 at 9:03pm JST (3 months ago) comment permalink

The new version worked fine, until I switched over to the NEW Facebook, then it wouldnt detect my albums and wouldnt create any new ones. It also failed to authenticate- I suspect because of the url being parsed through- the new facebook has a changed url. So, until Mr Friedl returns the solution is actually pretty simple-
*in Facebook just select “Back to the old Facebook” on the top right;
* once in there, reauthenticate (hopefully will work)
*you’re in- uploads should work, album creation works
*once you’re done and want the new FB look, just switch it back with the link on the top left in FB.

Love your work JF.
Spike

— comment by Spike on August 21st, 2008 at 12:00pm JST (3 months ago) comment permalink

Man thanks a lot for this great stuff, I had like 15K photos just waiting for something like this, and now with the LR2 64bit it can’t get any better. I connected ok with the plugin and saw the test album I have on facebook and uploaded files correctly. My question is just if it’s possible to upload to the Profile Album? Nothing important, just curiosity and more convenience. Cheers!

— comment by ixfinite on August 28th, 2008 at 7:05pm JST (3 months ago) comment permalink

The latest version doesn’t seem to be able to create new galleries, or detect any existing ones, making uploading impossible. At least that is what I am getting.

It seems to be working for me, on both counts. Perhaps you could email the log, after trying (and failing) to create an album from within the Export dialog? —Jeffrey

— comment by dunxd on August 29th, 2008 at 12:32am JST (3 months ago) comment permalink

“The latest version doesn’t seem to be able to create new galleries, or detect any existing ones, making uploading impossible. At least that is what I am getting.”

Same here. And this error comes up as well:

Unable to Export:

An internal error has occurred: ?:13130: attempt to index field ‘?’ (a nil value)

— comment by Brian Moore on September 10th, 2008 at 12:30pm JST (2 months ago) comment permalink

Thanks for this plugin! It works great if I only use one Facebook account.

How do I set things up to allow me to publish to a second Facebook account? As soon as I logout, I can’t seem to authenticate myself again. I have been able to clear things if I completely log out and then back in again, then access the 2nd Facebook account.

Anyway to make this a smoother transition?

Thanks,

Steve

— comment by Steve on September 12th, 2008 at 10:43am JST (2 months ago) comment permalink

Back again after some more experimenting - turns out the trick is to make sure you close the Export to Facebook dialog from within Lightroom after you have logged out of the current Facebook account. As long as I do this, I can easily switch back and forth. Thanks again!

Steve

— comment by Steve on September 12th, 2008 at 10:54am JST (2 months ago) comment permalink

The Web site listed in the status doesn’t exist. Not a big deal but thought I’d mention it. I love the Flickr uploader so adding in the rest. I don’t suppose fotonomy.com is on your list of sites to work with :)

Oops, thanks, fixed the home-page url as of .18. Have never heard of fotonomy, sorry. —Jeffrey

— comment by Sylvia on September 14th, 2008 at 9:35pm JST (2 months ago) comment permalink

Update via the Plug-in Manager aint overwriting the plug-in file.

I’m using Mac Lightroom 2, tried updating from 20080905.17 to .20.

Otherwise , kick ass plugin, helps out alot! Expect a donation for usage!

— comment by Anuga on September 15th, 2008 at 4:44am JST (2 months ago) comment permalink

Anuga has the same issue with me again - I’m on XP. Stuck on picasaweb, flickr and facebook.

— comment by D on September 15th, 2008 at 6:53pm JST (2 months ago) comment permalink

your plugin constantly fails to upload doesn’t even give an error message in some case I tried every possible combination it wastes tiem instead of saving it first I was getting a nil value error then I started to get errors when creating an album. I’m using a macbook pro lightroom 2 and so on please tell me what I’m doing wrong?!!!

Sorry to have wasted your time with my crappy plugin. —Jeffrey

— comment by jamie on September 15th, 2008 at 9:43pm JST (2 months ago) comment permalink

Just like to make a public apology to Jeffrey for my insolent comment. His plugins are great I’ve been using them for a while but my computer and me have not been seeing eye to eye and I fear I have taken my software rage (apparently now known condition!) on Jeffrey. Jeffrey I’m so sorry for dissing your valuable and very time consuming work.
My sincerest apologies to yourself and all those who use this site in future I will not post unless I have something constructive or complimentary to say.
However the question still remains is anyone else having the same eexport problems a me? :::
Failed to create album- error message right on the cusp of sending the first image
or
No activity whatsoever upon clicking the continue to export button.
Jamie

— comment by jamie on September 15th, 2008 at 10:25pm JST (2 months ago) comment permalink

I have a problem when adding the plugin in plugin manager. The system error says “error while reading the schema”. In the diagnostic log there are 17 errors.
i.e.:
(1) Version.lua: No such file or directory,
(2) Access to undefined global: async_version_check
(3) Access to undefined global: PREFS,
(4) ?:411: attempt to call field ‘?’ (a nil value)…

I have vista sp1, admin rights, lightroom 2, downloaded and tried to unzip the package with both winzip and winrar and loaded the facebook-jfriedl.lrplugin folder normally.

Any clue? Thanks.

Gee, I don’t know…. that’s really odd. You get this with the latest version (.20)? —Jeffrey

— comment by tjaz on September 15th, 2008 at 11:58pm JST (2 months ago) comment permalink

Yup, latest versin, just downloaded from this site.
It has to be something in general because I have same problem with picasa plugin, very similar error report…
Any clue what should I check, change…? Could it have sth. to do with regional settings, characters (I have english Vista, but Slovenian regional settings)?

Thanks.

Ah, that rings a bell…. there’s a bug in 2.0 that makes my plugins not work when they’re installed in a path that has non-ASCII characters (such as a username with an accent in it). Could you try installing in a place whose path is pure ASCII, and giving it another try? —Jeffrey

— comment by tjaz on September 16th, 2008 at 6:01am JST (2 months ago) comment permalink

Awesome tool, but I can’t seem to export multiple pics to facebook…Only 1 at a time. I get the following 2 warnings:

First Warning:

Whoa,
“…” does not exist immediately after waitForRender. Please let Jeffery know.

Second Warning:

Unable to Export:

Couldn’t open DSC_0006.jpg:
C:\Users\AJ\AppData\Local\Temp\50F0F61B-C8E1-4ECD-ADF7-ESFA0D082540\DSC_0006.JPG: No such file or directory

I have mogrify running but also tried it without…I’m running vista ultimate…thanks for your help!

It appears to be a Lightroom bug; I’ve added it to the known issues page. —Jeffrey

— comment by AJ on September 16th, 2008 at 10:08am JST (2 months ago) comment permalink

Hmmm, I must have something wrong as the exporter is clearly working for other people - but I am no longer seeing my albums. I saw this upon upgrading to 17. I then uninstalled the plug in and added in version 22 - same issue. Just upgraded to 23, no change.

The only option I have is
*** select at export time (useful for export presets) ***

If I carry on regardless, I am prompted for my destination but I still only have the above option. If I try to continue with export from there, it fails - sometimes silently, other times with a (justifiable message) that it aborted due to lack of destination.

I’m still not that good with lightroom - any ideas of what I should look at? The plug-in worked a treat yesterday!

— comment by Sylvia on September 17th, 2008 at 2:56am JST (2 months ago) comment permalink

Jap, that works. The plugin path must be a pure ACSII.
Great, thanks Jeffrey!

— comment by tjaz on September 17th, 2008 at 5:13pm JST (2 months ago) comment permalink

Well, I tried various things and in case this happens to anyone else, the following sorted it out:

Go to the Export window
Logout of facebook
Remove the plugin
Restart Lightroom
Add in the plug in manually
Authenticate until successful message appears (took two tries)

Now my folders are there again. Clearly something went wrong with the authentication (although it recognised my name and gave the little “looking up albums” bit at the start) but it wasn’t possible to simply log out and back in.

*shrug* Works now, anyway :)

— comment by Sylvia on September 18th, 2008 at 7:07pm JST (2 months ago) comment permalink

Great plug in for the casuel facebook user, but what about those of us who have a facebook artist or business page?

I don’t know… what is a “Facebook artist or business page”? I don’t use Facebook. —Jeffrey

— comment by Walt Sorensen on September 21st, 2008 at 2:57am JST (2 months ago) comment permalink

Think of a Facebook Page as something like a Facebook profile, only for entities like a business, a band or artist, or a product or even a brand.

http://wiki.developers.facebook.com/index.php/Facebook_Pages

Uh, so what does this have to do with Lightroom and my plugins? —Jeffrey

— comment by Walt Sorensen on September 21st, 2008 at 1:08pm JST (2 months ago) comment permalink

You offer a plugin for lightroom that uploads photos to a facebook profile. It’s a nice plugin and is useful to facebook users. Facebook also has Facebook pages, it’s like a profile and is controlled by admins (facebook users). Facebook pages have photo gallery’s just like profiles. So, your plugin could easily be modified to do what it does for profiles but for facebook pages.

The link provided in my last post talks a bit about the how to script the calls needed for a page vs a profile. A user who is an admin would log in and then access the page rather then the profile.

The Facebook instructions are pretty opaque, but I think I figured it out. Let me know. —Jeffrey

— comment by Walt Sorensen on September 23rd, 2008 at 7:58am JST (2 months ago) comment permalink

? Thanks for your help. I disabled the plugin and I am getting further but after a few exports, I get error response from facebook:

Error uploading image: no photo id

Aborting export after X of X images successfully uploaded.

I was exporting 51 pictures.

Thanks

==============

I’m running into the same thing…. where should I send the plugin log?

Woo-hoo, I finally figured this out as of version .43. The real problem behind that message is that your album was full, or some other message from Facebook that I hadn’t been processing properly. —Jeffrey

— comment by David on September 28th, 2008 at 5:34pm JST (2 months ago) comment permalink

Sorry i have problem uploading photos…. can’t select a previously created album or create a new album.

Any idea on what I can do? Thanks!

— comment by Hin on October 2nd, 2008 at 12:29pm JST (2 months ago) comment permalink

Hin:

This sounds like the same issue as I have. I’ve now streamlined the fix to:
Log out of Facebook
Exit Lightroom
Start up Lightroom
Go to the Facebook plugin and reauthenticate

Then the folders appear.

None of these gymnastics should be required any more, since version .41. Sorry for the hassles! —Jeffrey

— comment by Sylvia on October 9th, 2008 at 3:32am JST (1 month ago) comment permalink

First upload worked like a dream.

However on second and all subsequent attempts (whether trying to upload to an existing album or creating a new one) I get the following error message:

Unable to Export:
An internal error has occurred: Access to undefined global: AuthenticatedRequestHeaders

Logging into Facebook it appears the album is created, and one photo is uploaded, but then things grind to a halt.

Any ideas on a fix?

Yikes, thanks for the report. This is my fault, and the problem is in the code that supports the “delete previous versions” code. It turns out that Facebook doesn’t support deleting uploaded photos from an application like this, so I’ve just removed that option in the newly-pushed .29 version. —Jeffrey

— comment by Michael on October 11th, 2008 at 12:29pm JST (1 month ago) comment permalink

Thanks Sylvia!!!! It’s working fine now!!!

Thanks Jeffrey for updating the plug-in as well!

— comment by Hin on October 13th, 2008 at 11:57pm JST (1 month ago) comment permalink

Facebook exporter doesnt seem to work at all for me… i select the pics i want to export, i go to export, select facebook.. fill in things like file name, DPI and i create a new album… hit export, and nothing… what am i doing wrong?

— comment by Chris Burke on October 14th, 2008 at 5:39am JST (1 month ago) comment permalink

Just updated to the latest version - for some reason, the plugin isn’t allowing me to create any new albums, thus there is no destination for the picture selection to be uploaded to. This happens in the main export window and also on the following pop up window,

I try and create a new album, but the main export window just refreshes (very quickly) and says ‘unable to create new album’ at the bottom.

I’ve tried restarting Lightroom and logging in out of facebook, but no joy.

Anyways, I love your plugins, the flickr one is brilliant, thanks so much for doing all of these essentially for free.

Thanks

— comment by fatpete on October 14th, 2008 at 6:57am JST (1 month ago) comment permalink

I updated to the latest version and I too am having the same issue as fatpete. I can cot create any new albums or export any pictures.

— comment by Paul Ashmore on October 16th, 2008 at 6:23pm JST (1 month ago) comment permalink

Hi Jeff

firstly thank you very much for the lovelly plug ins just great work…I just updatet the facebook one and miss the watermark tool :-( would it be possible to add it again ? so that I can upload some pic with my defined watermark as it was possible to do it with the last one ?

regards reto

my facebook:
http://www.facebook.com/profile.php?id=1477166309&ref=profile

Sorry about that… I put it back in .32 —Jeffrey

— comment by Reto on October 16th, 2008 at 11:46pm JST (1 month ago) comment permalink

Thanks a lot, great work

— comment by vonkinder on October 23rd, 2008 at 8:32am JST (1 month ago) comment permalink

I’m trying to export upload directly from right hand mouse click menu and I get the following.

“An internal error has occurred: ?:15888: attempt to index field ‘?’ (a nil value)”

works fine if I go into the full Export… menu and do the same export, just not from shortcut menu.
Otherwise working great, thanks.

— comment by piers on October 24th, 2008 at 2:17am JST (1 month ago) comment permalink

I’m trying to export to Facebook from version 2.1. When I click the Export button to export the photos, this error is immediately raised: “+743.8: At line 15259: ?:16108: attempt to index field ‘?’ (a nil value)”. It then asks for me to create/choose a FB album, which I do, and then it immediately ends the export without doing anything.

FYI - the album is not being created in FB.

The exact settings for my export are below:
- Export Location: Temporary folder
- File Naming: I’m using a custom template = {filename}-1
- Metadata:
o Minimize Embedded Watermark: N
o Write Keywords as Lighroom Hierarchy: N
o Add Copyright Watermark: N
- Facebook Tools: I’m am leaving these fields blank
- Facebook Upload Destination: I’m leaving these at the defaults.
- Facebook Metadata Management:
o Image Caption: I have tried with and with out captions
o Resolution Notation: 300 pixels per inch

I am using the latest version: 20081022.33

I am on a Mac, running OS X 10.5.5
Any help would be greatly appreciated.

Thanks so much!

— comment by Michael on October 25th, 2008 at 9:23am JST (1 month ago) comment permalink

I have been using this plug-in since LR 2.0 and it is working pretty nice.
However, I’ve got the error similar to “+743.8: At line 15259: ?:16108: attempt to index field ‘?’ (a nil value)” after I’ve upgraded my LR to 2.1. The problem still exist even I upgraded the plug-in version to 20081022.33

I am running LR in Mac OS X 10.5.5.

Thanks so much!

— comment by Brian on October 26th, 2008 at 2:12am JST (1 month ago) comment permalink

I’m another happy customer of the new plugin on LR2.1.
I’ve been using the Flickr one for ages.

Thank you!

— comment by Patrick Keogh on November 1st, 2008 at 9:59am JST (1 month ago) comment permalink

I still have problems with the issue below (previously reported) …. i think it is not resolved yet…. thank you
“If I use the export dialogue box - wait for LR to login to Facebook- then click export i get:
Info
At line 12998 popup.
Then to the “choose dest. for image” which doesn’t pull down any album names (it does login in the export dialogue before though.) then clicking export it closes but nothing happens/gets uploaded. Suspect this is due to the New facebook pages?”

— comment by eloy on November 3rd, 2008 at 7:12pm JST (1 month ago) comment permalink

Hi i have used the flickr plugin for ages and its great, have LR2 and and imac but i have the same problems as a lot of people in that i cant see my albums or create an album in FB.

Thank you for the flickr one, and hopefully we can shed some light on the FB issue to help you with it.
Cheers

All this should be fixed, I hope, in .40. —Jeffrey

— comment by Carl on November 3rd, 2008 at 9:25pm JST (1 month ago) comment permalink

followed by:
Error response from Facebook:
Error uploading image: no photo id
Aborting export after 0 of 11 images successfully uploaded

Finally fixed in .43 —Jeffrey

— comment by David on November 4th, 2008 at 3:34am JST (1 month ago) comment permalink

Hi Jeffrey, i worked out if i actually login to FB prior to export from my firefox browser it works. If i dont login it doesn’t work even though the plugin works. I dont know if this will help anyone but give it a try,

All this should be fixed, I hope, in .40. —Jeffrey

— comment by Carl on November 4th, 2008 at 6:41pm JST (1 month ago) comment permalink

I uninstalled the plugin.
Logged into Facebook.
Loaded the plugin through the plugin manager
Authenticated
and it works.

Go figure. Hope this helps others.

I finally figured this out… it’s fixed, I hope, in .40. —Jeffrey

— comment by David on November 4th, 2008 at 11:38pm JST (1 month ago) comment permalink

like a number of other users above i have been getting this error.

+159.6: At line 15578: ?:16440: attempt to index field ‘?’ (a nil value)

logging out and then reauthenticating the plug in returned function to normal. very odd. can send a log file if this helps?

— comment by thelizards on November 10th, 2008 at 8:43pm JST (3 weeks ago) comment permalink

Hi i dont loaded the latest 11.37 and the export button is grayed out. I cant see what i an not clicking to get this enabled. Its also no showing my albums. Note two versions ago i had this working but only if i logged into FB with my browser first so i am not sure what has happened?
I use OSX thats patched upto the latest version.
I know this seems to be causing troubles but if you can get it stable like the flickr one it will be great so thank you for your work to date.

All this should be fixed, I hope, in .40. —Jeffrey

— comment by Carl on November 11th, 2008 at 5:41am JST (3 weeks ago) comment permalink

facebook-20081111.37
I just can’t get your plugin to authenticate. I can press “Visit Facebook” and my browser opens it but pressing “Authenticate…” just does not do nothing. Same with flickr export plugin. Any ideas? (Mac OS X 10.5.5, LR 2.1, 64 bit)

If you could send me the logs (referenced in the upper-right of the Plugin Manager) after a failed authenticate attempt, I’d appreciate it. Do update to the latest versions first (especially Facebook, where I just fixed an authentication issue in .40). Thanks. —Jeffrey

— comment by Marco on November 11th, 2008 at 6:46am JST (3 weeks ago) comment permalink

Version 2008111439

Can you take a look at the issue of colorspace selection? The colorspace selection was removed after 20081011.29 and I have been unable to get the plugin to export in sRGB.

Alternatively, is it possible to build a version of 20081011.29 that does not expire?

thanks

All exports via the plugin are sRGB, or should be, so if you’re seeing resulting files that are not sRGB, it’s a bug, or some intervening “Post-Processing Action” (what I call an “export filter”, such as LR2/Mogrify) diddling things along the way. If it’s not the latter, could you send more details about what you’re seeing? —Jeffrey

— comment by Kenny Luk on November 14th, 2008 at 2:12am JST (3 weeks ago) comment permalink

“Removed a bunch of sections from the export dialog (export image type, size, colorspace, metadata, etc.). When uploading to Facebook, the same selections are always needed, so it makes the presentation simpler to remove the option to change them. ”

So, how do I select a size, colorspace, sharpening, etc.? I used to resize all photos to 604, make sure the colorspace was correct, and apply no shapening. So, how can I do that now?

It’s all done automatically. It makes no sense to upload to Facebook with anything but sRGB, and little sense (I won’t go so far as to say “no sense”) to use anything but normal screen sharpening. The 604-on-a-side maximum also seems to be the standard, so I just have the plugin select these settings rather than the user. A lot of users don’t understand these settings, so taking them out makes things simpler for everyone, at little to no cost for most people. —Jeffrey

— comment by ben b on November 14th, 2008 at 4:25am JST (3 weeks ago) comment permalink

20081114.40 NOW works! so far I havent had to reload plug in!
great thanks.

— comment by Javier on November 15th, 2008 at 8:13am JST (2 weeks ago) comment permalink

I have loaded 1117.42 on an iMAC and its working like dream. Thank you for your support and i look forward to the next project you take on.
Cheers
Carl

— comment by Carl on November 18th, 2008 at 7:14pm JST (2 weeks ago) comment permalink

I’m still getting the message:

Error response from facebook: Error uploading image: no photo id.

I’ve noticed that this primarily occurs in albums with over 60 photos; is anyone else having the same problem?

I’m using Lightroom 2.0, MacOs MacBookPro Version 10.4.11

— comment by Erin on December 4th, 2008 at 7:54am JST (1 day, 17 hours ago) comment permalink
Leave a comment...

See the known issues before reporting bugs. Also, when reporting bugs, please include the OS, the version number of Lightroom, and the version number of the plugin. PLEASE REPORT THE NAME AND FULL VERION NUMBER OF THE PLUGIN WITH EVERY REPORT. Seriously. I need the full version number or I likely can't do anything but ignore the message.

More or less plain text — see below for allowed markup

You can use the following tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>