Overview
What Is Facebook Photo Fetcher?
Facebook Photo Fetcher is a Wordpress plugin that allows you to quickly and easily generate Wordpress photo galleries from any Facebook album you can access.
The idea was inspired by Fotobook, though its approach is fundamentally different: while Fotobook's emphasis is on automation, this plugin allows a great deal more customization. With it you can create galleries in any Post or Page you like, right alongside your regular content. You do this simply by putting a "magic HTML tag" in the post's content - much like Wordpress Shortcode. Upon saving, the tag will automatically be populated with the Facebook album content. Presentation is fully customizable via parameters to the "magic tag" - you can choose to show only a subset of an album's photos, change the number of photos per column, show photo captions, and more.
Also, Facebook Photo Fetcher does not limit you to just your own Facebook albums: you can create galleries from any album you can access, including groups and fanpages. This is very handy if you're not the main photo-poster in your social circle: just let your friend or family upload all those wedding pics, then import them directly to your blog!
Features:
- Uses Facebook's API to instantly create Wordpress photo galleries from Facebook albums.
- Galleries are fully customizable: you can import complete albums, select excerpts, random excerpts, album descriptions, photo captions, and more.
- Galleries can be organized however you like: in any post or page, alone or alongside your other content.
- Simple PHP template function allows programmers to manually embed albums in any template or widget.
- Galleries can be created from any album you can access: yours, friends', groups', or fanpages'.
- Built-in support for automatically attaching Post Thumbnails to any post or page that includes a gallery.
- Built-in lightbox: Photos appear in attractive pop-up overlays without the need for any other plugins.
- Admin panel handles all setup for you: Just click Connect, login, and you're ready to start making albums.
- Admin panel includes utility to search for all albums you can access (and use to create galleries).
- Admin panel includes utility to auto-traverse your galleries, updating those that've changed on Facebook.
- No custom database modifications: all it does is automate the creation of post/page content for you.
Demo
The following box contains a sample gallery imported from Facebook using this plugin. It's generated by one single "HTML magic tag" placed in the content of this page:
From Petrified Petra, posted by PederY on 6/13/2009 (Showing 16 of 60 items)
"Justin and I returned to the hotel after our late night at Petra. We decided to start bright and early the next day and get moving before the sun came up. Ladden with water, cameras and kebabs we ventured into one of the most amazing ancient structures on earth. And it would truly be a day to remember."
Generated by Facebook Photo Fetcher
"Justin and I returned to the hotel after our late night at Petra. We decided to start bright and early the next day and get moving before the sun came up. Ladden with water, cameras and kebabs we ventured into one of the most amazing ancient structures on earth. And it would truly be a day to remember."
- We started down the same path we had walked mere hours before. Some structures had be...
- A few meters down the main path we had to venture into the narrow opening between the...
- We had left the hotel way before the sun came up and were one of the first people in ...
- Almost as enchanting as the day before, and almost equally surprising, was the feelin...
- There was a neverending line of camels and donkeys and bedouins and carts with touris...
- The obligatory "me in front of Petra"-picture. The sun was still hours away from reac...
- The Treasury (or Al Khazneh) is simply amazing workmanship, thousands of years old. I...
- Petra has also been the stage for numerous movies, like Indiana Jones (which we were ...
- Camels look smart!
- Almost unbelievable that it's so intact.
- As we were leaving, tourists started pouring in from the opening in the mountain behi...
- Leaving the Treasury, we continued down the Street of Facades. Here it seemed like th...
- Camels with bedouins (or vice versa) constantly reminded us that we were far far from...
- We had done our homework and quickly left the beaten path. Our second destination was...
- In this picture it was supposed to look like we were supporting ourselves from fallin...
- Finally at the top! I bet this picture could have been used as an advertisement for s...
Instructions
- Download the latest version from here, unzip it, and upload the extracted files to your plugins directory.
- Activate the plugin via your Wordpress admin panel.
- Head over to Settings -> FB Photo Fetcher.
- Click the "Login to Facebook" button to popup a Facebook login page. Enter your information, click "Login", then close the popup. Next, click "Grant Photo Permissions." Accept the permissions in the popup and when it says "Success," close it. Finally, click "Save Facebook Session." It should now say This plugin is successfully connected with xxxxxxx's Facebook account.
- Now we need to get the ID of an album you'd like to import. Click the "Search for Albums" button; It will automatically connect to Facebook and produce a list of all the albums you can access, each with an associated ID number. Let's use the example 1234567890123456789.
- Create a new post or page and enter the following tags, replacing the example ID with the one you'd like import. Note that you must use the HTML Editor (not Visual Editor) for the tags to be recognized:
<!--FBGallery 1234567890123456789 --><!--/FBGallery--> - Click "Save", and you're done! You can now view your new album.
Customizing
Magic Tag Parameters
Let's start off with the basic code for importing a Facebook album into a page or post:
<!--FBGallery 1234567890123456789 --><!--/FBGallery-->
If you want a bit more control over how this presents the album, there are a number of parameters you can add to the opening tag, after the album ID number. These are:
- cols=#: Set the number of photos to show per row (default is 4).
- start=#: Start showing photos from the given index (i.e. to skip the first 2 photos, enter start=3)
- max=#: Limit the number of photos (i.e. to only show the first 5 photos in an album, enter max=5)
- rand=#: Show a random selection of photos from the album. This is applied after start & max, so to show 5 random photos from the entire album, enter rand=5; to randomize the first 5 items in the album, enter start=0 max=5 rand=5 (first limit the photos to the first 5, then randomize them).
- orderby=reverse: Flip the order of photos in the album (i.e. to show only the latest, you'd use "orderby=reverse max=1")
- hideHead=1: By default, albums will display their author, item count, and description prior to the first photo. Setting this will omit it that information.
- swapHead=1: Swap the order of the information in the header - author first, description second.
- hideCaps=1: By default, each photo shows an excerpt of its caption below it. Set this to omit them.
- noLB=1: By default, this plugin outputs the JS needed to setup the lightbox popups. Set this to omit it.
<!--FBGallery 1234567890123456789 cols=4 max=16 swapHead=1 --><!--/FBGallery-->
Groups & Fanpages
Thus far, we've only discussed importing personal photo albums. Here's how you'd create a gallery from a fanpage or group:
- To show photos from a specific album within a fanpage, simply input its albumID in the magic tag. Mouseover here for how to find the albumID of a fanpage album.
- To show all photos from a fanpage, add the parameter isPage=1 and replace the albumID with a pageID.
- To show photos from a group, add the parameter isGroup=1 and replace the albumID with a groupID.
<!--FBGallery 215851691826634_50508 --><!--/FBGallery-->
If you wanted to create a gallery that randomly selects 10 photos from all albums on my fanpage, you'd use:
<!--FBGallery 215851691826634 isPage=1 rand=10 --><!--/FBGallery-->
Note: See FAQ #18 if you're experiencing issues with Group albums.
Albums from PHP
If you've got a custom template or widget in which you'd like to include a gallery, you can call the function fpf_fetch_album_content() directly. It accepts the same parameters as the HTML tags above; for example:
$album = fpf_fetch_album_content( '123456789', array('cols'=>6, 'max'=>18) );
echo $album['content'];
echo "Thumbnail: " . $album['thumb'] . ", Photo Count: " . $album['count'];
Post Thumbnails
This plugin supports automatic Wordpress Post Thumbnails. If you download and install the Add From Server plugin and set a thumbnail path in this plugin's Settings page, it will copy each album's thumbnail to your local server and attach it whenever you create or update a gallery.
Item Counts
Whenever a Facebook album is inserted into a post, that post will be given the postmeta "_fb_album_size", containing the number of shown items in the album. You can reference this from your code if you wish.
Donate
Although this plugin is free to use and enjoy, it did not write itself. If you find it useful, a glass, pitcher, or keg of beer for the author would be greatly appreciated. I promise to enjoy every ounce of it :)
FAQ
Note: Numbers may not be sequential as I remove old or outdated FAQs.1. Magic Tag? Why not just call it shortcode!
I call it a "magic tag" because the way it works isn't quite the same as shortcode: Shortcode generates the content on-demand; that is, whenever a user loads a page, the shortcode will be processed and produce some html for them to view. The "magic tags" are processed when you save the page, downloading the album and inserting it as regular HTML. This avoids the need to connect to Facebook every time someone views a gallery, and also lets existing galleries continue to work even if the plugin is disabled.
2. You mentioned that it includes its own Lightbox support; will this conflict with the Lightbox2 plugin?
Nope - it checks for the presense of that plugin, and omits its own Lightbox code if present. And of course you can always disable lightboxing manually by specifying the noLB parameter to tags.
3. When trying to connect to Facebook, I get the error message "Failed to get a session secret."
Make sure you've logged in to the popup Facebook window before closing it and clicking "Save Facebook Session." The popup login window should say You may now close this window and return to the application before you close it. If it doesn't, you haven't logged in.
5. When I save my gallery pages it just says "Invalid Album ID."
Make sure there's a space after the albumID in the start tag - this wasn't a requirement in earlier versions, before I learned that ID's can contain dashes and underscores as well as numerals.
(i.e. <!--FBGallery 123456 -->, not <!--FBGallery 123456-->)
8. Albums are getting imported, but they always show as one huge column of photos.
This is a CSS issue. Most likely your theme isn't calling wp_head() in its header.php template, so Wordpress has no way to output the default stylesheet I've included.
9. I've got an idea for another feature. Could you implement it?
The main reason I wrote this plugin was for personal use. After I'd finished getting it all up and running, I later decided, "Since I've already put the effort into making it I may as well let others benefit from my work as well." So I put a nontrivial amount of extra time into creating an easy-to-use admin panel, implementing all kinds of safety checks, adding nicer presentation code, documenting it, and so forth. While I'm ecstatic to see so many people making use of it, unfortunately I can't offer more of my time for free (aside from smaller bug fixes). If you'd like to hire me to add a feature or tailor it to your needs I'd be happy to discuss it, and I'm always interested to hear your ideas. For reference, I'll keep a list of some of the cooler suggestions here:
- Generalize the code so it can be used on any PHP site, outside of Wordpress.
- Add the option to download all photos and attach them to the parent post, so they can be viewed and commented on individually (and listed by standard Shortcode).
- Get photos for Events
- Show the names of tagged users in photo pop-ups
- Show Facebook comments in photo pop-ups
- Search for albums and auto-insert the Magic Tags directly from the "New Post/Page" screen
- Schedule cron jobs to automatically re-fetch all albums
- Pagination of albums
- Localization
- Generate an "index page" for imported albums
- Allow more than one "magic tag" per post/page
Although this plugin generates the content needed to *show* your Facebook albums, the photos themselves still reside on Facebook's servers - which can be pretty unreliable at times. If some of your images won't come up, login to Facebook directly and see if those same images are working. My bet is they're not.
11. When I save a post with Magic Tags, nothing happens - the tags remain but it doesn't fetch the album.
See FAQ5. Also, make sure you're using the HTML Editor, not the Visual Editor.
12. The lightboxes aren't working - when I click an image, it just shows up in its own window.
You probably have Javascript errors on your site which are causing the browser's JS engine to abort before reaching the Lightbox code. Try debugging your site with Firebug to make sure you've fixed all other JS errors.
15. When I click a photo, it pops up partially obscured behind some other element on my page.
This is an issue with your theme's CSS. You'll need to edit your stylesheets and fix the z-indices so the lightboxed image comes up on top.
16. Is it possible to make a randomized album re-randomize its photos on every pageload?
If you create an album by calling the PHP functions directly (in a custom template), photos will be fetched and randomized each time the page is loaded. To achieve this behavior with magic tags (i.e. in your posts), you'll need to write your own filter to do so (try calling fpf_run_main() from a filter on "the_content"). However, as this will be very resource-intensive and will make your pageloads dependent on Facebook itself, I don't recommend it - a better idea would be to setup a cron job to re-fetch the album periodically (i.e. once an hour). This maybe added to a future version, but for now I'm afraid you're on your own.
17. When I activate the plugin, I get an error like "Parse error: syntax error, unexpected..."
This plugin requires PHP5; you're probably still using PHP4.
18. Group albums aren't working - they always show 0 items, even for groups that are completely open.
It would appear that Facebook's old REST API doesn't support their new group format, so while old groups will continue to work, you may experience problems with new ones. The only fix I've been able to find would be a complete API upgrade, a nontrivial task which I unfortunately cannot do at this time. If anyone with Facebook API knowledge manages to find a workaround I'd be more than happy to implement it, otherwise I'm afraid it'll have to remain as-is until there's a lull in paid jobs that make time for the upgrade :)
19. I'm getting "Fatal error: Uncaught exception ‘FacebookRestClientException’."
Try re-authorizing with Facebook by clicking "Change Facebook Account" in the admin panel. If that doesn't fix it, it's possible that one of Facebook's servers is having an issue - please wait a few hours and give it another try.
20. Is there a way to create an "index page" that links to all my imported Facebook albums?
Sure, but it requires custom coding. You can implement this by creating a page template that iterates through and lists its child pages, then make your albums children of that page. For help, please see the WP docs.
21. The plugin only seems to work with albums that have less than X-number of photos.
Most likely your webhost has set too low of a "max_execution_time" in php.ini, or the server is too overloaded and is timing out. You can determine this by checking your logs (or contacting your host if you don't know how).
22. When I update an album on Facebook, it isn't reflected on my blog.
See FAQ1 for how this plugin works, and why it doesn't reconnect to Facebook on every pageload. To bring your galleries in sync with Facebook you may re-save them manually, or use the "Re-Fetch" buttons in the admin panel. If you want to make it automatically re-fetch, you'll need to implement a cron job (FAQ9, 7th subitem). Also see FAQ16.
23. When I updated this plugin to v1.3.0, all the lightboxes stopped working.
As per the release notes, 1.3.0 includes a different lightbox implementation (which is GPL-Compatible). To restore functionality to your albums, you'll need to re-fetch them just once - which you can do via the "Re-Fetch All Albums In Pages" and "Re-Fetch All Albums In Posts" admin panel buttons.
100. Something else isn't working as you've described!
Improperly coded themes and conflicting plugins are two of the most common sources of error, so if you're confident you've followed the directions above and something still isn't working, please try it again with all other plugins disabled and with the default Wordpress theme. If that works, you should be able to pinpoint the source of the issue by reactivating them one at a time.
101. How can I get personalized help with this plugin?
As described in the following section, I'm unfortunately no longer able to offer free one-on-one support for this free plugin. If I'm directing you to this FAQ, it probably means that you e-mailed me directly or posted a personal question below, disregarding the information under "Feedback/Support." Please read that section for a full explanation of my current support policy.
Feedback/Support
So, you've setup the plugin and it isn't doing what you expect. What now? The first thing you should do is carefully reread all the documentation above, paying special attention to the FAQs; 99% of support questions are solved by the solutions already offered above.
Still no joy? If you need personal help, you can get paid support by donating at least $20USD to the author:
You may then email me your question and I'll get back to you as soon as I can. It will improve the process if your message contains the following information:
- A clear explanation of the problem: When does it happen? When doesn't it happen? What do you see?
- What have you tried? Did try it with the default theme and all other plugins disabled?
- Provide a link to the gallery that isn't working, if available.
- Provide the exact tags you're using, if available.
Download testking mcdba tutorials to learn about Wordpress. Our testking mcdst guide and testking mcp demos will provide complete information on WP plugins.



















I was having the logged in, but no albums issue. I’ve followed the re-authorise procedure correctly (several times now). Still ‘none found’.
There was a strange issue where the plugin was showing:
[FBGallery 1] 1
[FBGallery S] S
[FBGallery ] -
This occurred when I clicked Change Facebook account, but DID NOT log in, and returned to the page (the Application settings in FB had been deleted as per your instruction)
I added this shortcode to a page, but it just shows as the shortcode and no pics.
WP 3.0 and FBF 1.1.12
Any ideas?
Hi!
Seems I’ve reauthorised but am facing the problem as mentioned above, the 1 and S albums issue. Any hints?
Thanks!
@Nathan, Yingjie: Are you searching for a user or page? What’s the ID? Could you try searching for someone else’s ID?
Hi Justin,
I tried both. I’m actually hoping to use it for a Facebook Page’s album (I’m given admin rights over that page), but I tried to use one of my own albums but it gave the same error as well sadly.
@Yingjie:
Repeat: “What’s the ID?”
185108
I got the display option of 1 and S so I directly extracted the IDs from the aid value in the URL.
Hmm? Not quite sure what you mean by that statement…
So is that a page ID or a user ID or album ID? Could you send me the full Facebook URL where you got that number? I wasn’t able to get it to work in either case…
http://www.facebook.com/pages/Singapore-Singapore/Absolute-Fencing/94922751058#!/album.php?aid=185108&id=94922751058
I was trying to get this album to be shared! Thanks so much!
As documented above (and mentioned in many comments), when using a page you just need to put the page ID into the magic tag and it’ll show all photos from all albums on that page. These tags worked exactly as they’re supposed to, with the page ID:
<!–FBGallery 94922751058 isPage=1 –><!–/FBGallery–>
here is the forum post i started with lightbox plus to see if there is anything on their side that they can do.. if you would like to check it out, here it is:
http://www.23systems.net/bbpress/topic/not-lightboxing
Ack! My apologies. I’ve tried to load it with an album from my own profile but it doesn’t seem to work though?
Okay it has loaded this time but it loads 3 images with no album name and they show the 1 and S problem.
http://www.absolutefencing.com.sg/wordpress/?p=91
Thanks a lot!
You’ve entered <!–FBGallery 185108 isPage=1 –> again. That is not a page ID. I just provided you the exact magic tags above, using the pageID. It works.
You cannot give it a non-pageID number and tell it “this is a pageID.”
OK… Hi Justin, I was able to get this to work with Yingjie’s photos as an example
However, my album page links don’t look like that, they look like this:
http://www.facebook.com/album.php?aid=452254&id=532425219
So, not sure how to get the page IDs…
532425219 is not a page, it’s your profile. You have to search for albums.
Yes, I’m aware that is my UID. This is what is entered into
I just get ‘none found’ showing. On one occasion I got the ’1 and S’ thing that YingJie also had.
I specifically made an album viewable to everyone, in case it was a privacy issue.
I’ve tried three different friend’s UIDs, but they all return None Found.
To be clear, the only way I get anything other than ‘none found’ returned is if I authorise the application, then deauthorise in Facebok. If I then press search, this is what is returned:
[FBGallery 1] – 1
[FBGallery S] – S
[FBGallery ] –
Any ideas?
Hi Justin,
I’ve tried both actually, 185108 and now the same code which you gave me (which I suspect is slightly wrong, the plugin does’t recognise it as a gallery code and nothing is output). I’ve currently put <!–-FBGallery 94922751058 isPage=1 -–><!–-/FBGallery–->
Nothing seems to be displayed though?
Thanks a lot, Justin!
And yeah I seem to be facing Nathan’s problem.
hey,
i’m trying to run the plugin on an hebrew blog (with right to left test) – but as soon as i activate the plugin, the whole wordpress admin switches from right-to-left to left-to-right. i’ve used a lot of plugins before and it never happened to me.
thanks!
alon
Back again. Still working great but I’ve noticed that it’s displaying the photos from oldest (first) to newest (last). Is there any way of getting it to show the latest pics first ?
Hey Justin: I appreciate all your work, but it still doesn’t work for me. I followed what you said…I went into application settings and clicked the X, removing FPF. I think went back into the application on WP and changed the facebook account. It still says “None Found”…not event the profile pics. I tried to search a couple different accounts and it still wouldn’t work. I uninstalled and reinstalled and went through the same process and it still says “None Found.” Any thoughts?
I am having the same problem… None Found. I tried everything suggested in the instructions and the comments above to no avail..
Hi Justin, love the idea but I can’t seem to get the interface to find any albums, enter UID but only get “none found”. Do albums have some ‘protection’ to deny their use?
how hard will be to implement the method to show a single album of a page instead
of all of them?
bye
Jenny
Hi Justin,
I have the same problem (“none found”) as the guys here. I did what you said, except that I clicked on the remove button, because I couldn’t click on the disable button on the lightbox.
:/
Regards,
Same issue here. I have three albums in Facebook. When I click “search,” it says “none found.” I’ve deauthorized and reauthorized (in accordance with the instructions above) no less than ten times. On one occasion, I got the same thing Nathan gets (with the “1″ and the “S”).
Any other suggestions?
I’ve written a small PHP tidbit that will parse album photos using the Graph API. Now I’m concerning about the authentication mechanism. Currently the user or me has to connect in order to view the album photos. I would like this transparent as you have it so that a user doesn’t have to connect in order for the photos to be display. I’m assuming that you’re storing the users credentials in MySQL to enable a persistent login of sorts. Any tips or pointers in this area? Thanks.
I’m getting the no-image, 1, s, blank problem as described above. My code in the page is <!–FBGallery 134520413501 isGroup=1 –>
The number is the FB group that I’m trying to pull photos from. They are just uploaded to the photo section of the group, not organized into actual galleries on Facebook. I am not an actual admin to the group, but everything is public. The plug-in is connected to my FB account.
Any idea Justin?
Justin,
I have a question regarding my txt widget that contains the correct php code- yet works intermittently, but mostly doesn’t work. It just displays the code itself. But, my main problem is that I want to be able to sift through the comments intelligently just in case this was already answered, but it’s impossible. The pages for your comments do not work correctly, nothing is nested, there isn’t an option to “resolve” a topic, or group anything into a topic or issue affecting a version. I don’t need to tell you, who knows more about computers than me, that there are numerous free forum/bb add-ons available. I would suggest, that before you make one more change to any other project, that you seriously consider updating this “comments” feature. It would surely save you a headache or two in the long run, while sincerely helping your thankful users. Respectfully, Nick
@Nathan, Yingjie, Rick, TK, Tom Tarrant, Caco, Erik: Grrr, Facebook seems to’ve changed their policies again and disabled the fix I was previously using
I just submitted a new version of the plugin (1.1.13) which should now work properly; you’ll need to update, de-authorize, and re-authorize as before. You’ll notice there’s now a new step where it’ll prompt you to grant additional permissions (photo access).
@Alon: Sorry, but I really have no idea…the plugin itself hasn’t been localized, but it certainly shouldn’t be able to do anything that changes the entire wordpress admin. Are you quite certain this plugin is what’s causing it? Have you tried Googling around for similar issues?
@Webbster: It replicates the same order as posted on Facebook – so no, at the moment this can’t be changed. Since the purpose of the plugin is to “directly” show a FB album on your WP blog, if you prefer a different ordering of photos, I suggest reordering them on FB and re-fetching.
@Jenny: I don’t know, but I don’t have plans to add any new features in the near future. Just supporting the existing plugin has taken about 10,000X more time than I’d anticipated, so there go my development hours
@Stephen Reese: It’s all commented quite extensively in the source, please refer to it as an example – particularly, see the top of _admin_menu.php. You can also checkout the plugin “Fotobook,” which is what I used to teach myself how to retain sessions. As far as the Graph API, I’ve no idea – never looked into it.
@Zeke: Perhaps this is caused by the same permissions mentioned above; please try updating to 1.1.13.
@Nick: I’m not sure why this works at all; text widgets should not support raw php code. You need to write your own widget.
Regarding a support-specific bulletin board, if this plugin were something I intended to pursue and put lots of time into, I agree that would ideal. But in truth, when I first submitted it for mass consumption I didn’t expect there to be anywhere NEAR this many people with issues – I envisioned it simply as “Hey, I wrote this for myself, might as well be nice and let some others take advantage of it too.” I’ve already invested far more hours into debugging other people’s problems for them than planned, and since I don’t intend to continue developing and adding new features (just keep it working as-is), something like a full-blown support system is more than I’m interested in doing. Besides, for legitimate plugin issues I always post a FAQ above, unless it’s something that just one or two people are doing contrary to the documentation…
Thanks Justin.
ps – For some reason the plug-in auto-upgrade in WP version 3 didn’t work, it kept trying to pull the old release, no biggy, was able to pull down the updated version manually.
Perhaps there’s a bit of delay before it works its way in the system; I JUST submitted the update less than 10 seconds before the preceding comment
Oh ya, with all of the traffic you may want to consider putting the code up on Google Code or something similar to allow others to contribute code, bug fixes or whatever so you might be able to take some of the pain out of maintaining the plug-in.
Yeah – not a bad idea. However, most of the maintenance isn’t actually codewriting but instructing people who haven’t followed the documentation, or whose themes are broken, or who’ve installed other conflicting plugins, or who have javascript errors on their site, or who are asking for help with things completely outside the scope of this plugin…so I’m not sure how much it’d help in this case…
Thanks Justin!
The bad news is while I’ve managed to grant permissions (“Success”), I’m still facing the 1 and S issue in the page and when I click the album searcher. Any hints?
It seems annoying how Facebook keeps locking people out
.
Do you get 1 and S when you search for your own ID as reported right above the search box?
Unfortunately, yes.
Available Facebook albums for ( uid 640210450 ):
[FBGallery 1] – 1
[FBGallery S] – S
[FBGallery ] -
Hi Justin, well done on the update! All working now.
Updated plugin to 1.1.13
Deleted from Application settings in FB
Logged in and reauthorised on FB
Saved session (in WP)
pressed search and the albums showed up.
This new update did the trick. Everything’s working properly now.
Thanks!
Thought I was on a winner yesterday, managed to ‘fetch’ a gallery but today back to ‘none found’ again, is this a FB ‘protectionism’ thing?
@Yingjie: I just tried it again and it works fine. I also de-authorized and re-authorized and it still works. Finally, I’ve confirmed with five older users that it’s working. You must not be following the directions completely.
@Tom Tarrant: Again…it’s all working here and for most everyone else I’ve checked with, so if I can’t see/reproduce the problem, there really isn’t much I can do. I suspect you maybe doing something funky, searching for something invalid, haven’t re-authorized, etc…
Just followed your instructions again, and I’m only getting the 1 & 5 options (as yingjie earlier)
It’s a shame as your plugin seemed to have real potential.
It’s working on this end, displaying a group’s photos as I wanted!
I had the same problem reported above with the updated version, until I manually entered Facebook to delete the application settings for the plug-in, and then re-authorized everything, as per Nathan’s post above.
BUT, there’s always a but, isn’t there?
The plug-in is only pulling 14 of 32 total images posted to the group. Only the photos uploaded by the group admin, not photos posted by another member. Could it be because I am FB friends with the admin but not the other member?
Here are the group photos and here’s the WordPress page with the gallery. Only parameters used are isgroup=1 and max=40.
Sorry if these comments are queued up and they all went through. This is my last attempt at posting again.
Just wanted to say thanks. Whatever you did fixed it and it’s working great. Congratulations on a great plugin!
Hi Justin,
As you know, I’ve got the plugin working with the latest version
I’m playing around with the Add from Server plugin to get the post thumbnails. This is not working and bringing up an error (within the FB photo fetcher option page):
Warning: copy() [function.copy]: URL file-access is disabled in the server configuration in (myurl)/wp-content/plugins/facebook-photo-fetcher/_output_gallery.php on line 333
This is, I am aware because url is not set to fopen in the php.ini file (due to the inherent security risk).
With regard to _output_gallery.php – specifically line 333, which is trying to copy the file, I found this interesting article on cURL method.
http://wiki.dreamhost.com/CURL
It is 1.30 am here, so I’m not about to try this method right now, but I thought you might like to see it as it may help your plugin work better with Add from Server without modifying the php.ini in a risky way.
Can’t get it to find a fan page’s album
http://www.facebook.com/pages/Hooters-Heinie-Watchers-of-America/257133707651#!/pages/Hooters-Heinie-Watchers-of-America/257133707651
@Zeke: My guess is that this is a limitation of Facebook’s new stricter privacy policies. The additional permissions that had to be requested for the application to work (as of June 2010) were “user photos” and “friend photos” – which leads me to believe that they now only allow the API to get to YOUR photos and your FRIENDs’ photos. I could be wrong, but that’s my guess…
@Nathan: Interesting – I wasn’t aware that there were any security issues with fopen. That surprises me a bit actually because I use HostGator, and they’re notoriously strict with security policies on their shared servers – yet it’s always worked fine. If you want a workaround, there’s a solution you can probably just copy-paste in the comments on the PHP documentation page for copy(), here.
@Jeff: I just tried it with that page and it works exactly as documented. I can’t possibly help debug your issue if you post zero details on what you tried, despite the fact that I very clearly wrote what details you should include in a support request right above the comments form on this page.
Your tags should be:
<!–FBGallery 257133707651 isPage=1 –><!–/FBGallery–>
I get an error when trying to connect to facebook…
“An error occurred while linking with Facebook: Failed to get a session secret. See FAQ3.”
I am using WP Version 3.0.1 with PHP5. I have activated your plugin.
But when I goto Settings – FB Photo Fetcher it hangs my browser.
Tested multiple browsers and also multiple locations.
Is this a known issue?
Am I able to manually set the user info somewhere?