Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _____ _ _ _____ __ _______ _____ _ ____ _ _ _____ ______
- | __ \| | | | __ \ \ \ / /_ _| __ \ /\ | | / __ \| | | |_ _|___ /
- | |__) | |__| | |__) | \ \ / / | | | |__) | / \ | | | | | | | | | | | / /
- | ___/| __ | ___/ \ \/ / | | | _ / / /\ \ | | | | | | | | | | | / /
- | | | | | | | \ / _| |_| | \ \ / ____ \| |____ | |__| | |__| |_| |_ / /__
- |_| |_| |_|_| \/ |_____|_| \_\/_/ \_\______| \___\_\\____/|_____/_____|
- ===================================THANK YOU FOR THE PURCHASE===============================
- Instructions:
- 1- Create a facebook app and Get facebook user_photos permission
- 2- Install the script
- 3- Create Apps and Enjoy!
- To create a facebook app:
- 1- open developers.facebook.com and sign up(if not already)
- 2- create an app
- 3- name it, and upload a logo
- 4- make sure to make it live in the app review section.
- 4- you'll need facebook login as product.
- 5- in "app domain" put yourdomain.com
- To get facebook permission:
- 1- Open the dummy app
- 2- Unzip it and edit index.php
- 3- Change the variables $thisurl and $app_id
- 3- Copy app id from you developers.facebook.com and paste it for $app_id.
- 4- put your root url for $thisurl (http://yourdomain.com/)
- 5- your dummy script should work now.!
- 6- After you've got the dummy script to work
- 7- Update the privacy policy url in the app settings to yourdomain.com/privacy.php
- 8- You can apply for user_photos permission now!
- 9- Go to app reviews and then choose user_photos to submit for approval
- 10- click edit notes on the permission and fill in the details.
- I usually choose "Other" in the top most choice and put the value as "To find a random photo as best photo"
- and be sure to write the steps in the below field. What I write is :
- "1.open mydomain.com
- 2.click "login with facebook"
- 3.wait for result image to load
- 4.Click share if wanted"
- You also need a screen recording for approval. Just capture you playing your app. That will be enough.(demo screen recording attached)
- 11- Apply for permission. Don't worry if you don't get it at the first time. Just read their reply and do accordingly. Sometimes you have to submit multiple times. Sometimes you'll get it in the first try.
- 12- After getting the permission you may delete the dummy script.
- To install script:
- 1- Make a database and database user in your server cpanel
- 2- Import the db file to your database using phpmyadmin
- 3- use the database and user details and edit "parts/config.php"
- 4- upload the script to your hosting.
- 5- login to admin panel at yourdomain.com/admin
- the first username and pw will be
- username: demo
- password: demo123
- 6- You might wanna go to the settings page and edit things there.
- 7- Enjoy!
- To use amazon s3 for storage:
- 0. Sign up in Amazon aws and create ans s3 Bucket (google these if you don't have any idea. It's easy!)
- 1. open generate/generate.php
- 2. on line 5 you'll find "$s3 = 0;"
- 3. change 0 to 1;
- 4. open s3.php in the root folder and change the s3
- 5. Change settings from line 17 to 21
- To use your hosting for storage:
- 1. open generate/generate.php
- 2. set "$s3 = 0;"
Add Comment
Please, Sign In to add comment