I would like you to add a specific Facebook feature to a WordPress site.
On the WordPress site, every blog post contains 1 up to 6 images.
By the click of a button (that appears if called by the [uploadbutton] code in the post), the user can upload these images directly into a Facebook Photo Album (after, of course, clicking the Facebook login button and granting required permissions).
- Before proceeding with the upload, the user can also choose to tag someone in these images (either him/herself or a friend). Or tag nobody. If the user chooses to tag somebody, the order in which images are tagged is of importance.
- Some posts include a special image that will be detected as such and uploaded as a Facebook Profile Picture.
An idea is to store the server location of these images into custom fields (eg. image_1, image_2, etc. by order in which they should be tagged, and special_image for the Profile Picture).