Kover as a service ( Formerly on [https://kaas.fun](kaas.fun) )
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Blagovest Petrov c40a766eeb Kaas 4 years ago
Facebook almost finished 10 years ago
css Upload to facebook feature added 10 years ago
images Kaas 4 years ago
.gitignore Updated README.md 10 years ago
README.md unwanted images removed 8 years ago
facebook_start.php $ removed from graph_version 8 years ago
index.php callback url fix 8 years ago
login.php almost finished 10 years ago
overlay.php overlay.php changes 8 years ago
privacy-policy.html conflict resolve 10 years ago
update.php Updated README.md 10 years ago

README.md

Fb-badge

Facebook profile picture badge creator.

Description

It downloads user's profile picture and paste an overlay image on it and presents an option to update it to his facebook feed. Facebook does not allow make it profile picture automatically.

Installation

It uses Facebook_SDK_v4 for authentication and uploads.

Please add a file named cred.php to the folder and add the following lines in them:

<?php
$_YOUR_APP_ID = 'XYZ';
$_YOUR_APP_SECRET = 'XYZ';
$callback_url = '';  // example.com/login.php
?>

Install curl

sudo apt-get install curl

Make a facebook app and submit for "publish_actions" approvals for uploading pictures and feed poting.

Make sure you fill 'App domains' , 'Site URL' , 'Valid OAuth redirect URIs' accordingly in the app settings.

Note : You will get error during facebook login when facebook configration is not correct.

Screenshots

App permissions :