dev-master
9999999-dev https://github.com/gajus/falbumUI to select a photo from Facebook photo album.
BSD-3-Clause
The Requires
- php >=5.5
The Development Requires
by Gajus Kuizinas
gallery facebook
Wallogit.com
2017 © Pedro Peláez
UI to select a photo from Facebook photo album.
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)
, (*2)
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.
});
UI to select a photo from Facebook photo album.
BSD-3-Clause
gallery facebook