2017 © Pedro Peláez
 

library falbum

UI to select a photo from Facebook photo album.

image

gajus/falbum

UI to select a photo from Facebook photo album.

  • Wednesday, March 26, 2014
  • by gajus
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Facebook Photo Upload plugin

Demonstration. Note that demonstration does not actually upload any files. However, the PHP files have all of the logic written down. It is up to you to issue an XHR request to the PHP script to initiate the uploading to the server., (*1)

Screenshot, (*2)

Usage

The script will automatically make sure that user is authorised with the required permissions (namely, user_photos)., (*3)

$.gajus.falbum({callback: function(r) {
    if (!r) {
        // User did not select any photo.
    } else if(r.url) {
        // Url of the selected photo.
    } else if (r.error) {
        // Error object containing the error.code and error.message.
    }
},
    loader: $('#your-loader'), // Optional. jQuery reference to the element that will be displayed when the script is loading (XHR requestss, etc.).
    debug: false // Optional. Allows to track (console.) script activity.
});

The Versions

26/03 2014

dev-master

9999999-dev https://github.com/gajus/falbum

UI to select a photo from Facebook photo album.

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.5

 

The Development Requires

by Gajus Kuizinas

gallery facebook