Guest User

Untitled

a guest
Aug 28th, 2017
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.27 KB | None | 0 0
  1. _____ _ _ _____ __ _______ _____ _ ____ _ _ _____ ______
  2. | __ \| | | | __ \ \ \ / /_ _| __ \ /\ | | / __ \| | | |_ _|___ /
  3. | |__) | |__| | |__) | \ \ / / | | | |__) | / \ | | | | | | | | | | | / /
  4. | ___/| __ | ___/ \ \/ / | | | _ / / /\ \ | | | | | | | | | | | / /
  5. | | | | | | | \ / _| |_| | \ \ / ____ \| |____ | |__| | |__| |_| |_ / /__
  6. |_| |_| |_|_| \/ |_____|_| \_\/_/ \_\______| \___\_\\____/|_____/_____|
  7.  
  8. ===================================THANK YOU FOR THE PURCHASE===============================
  9.  
  10.  
  11. Instructions:
  12.  
  13. 1- Create a facebook app and Get facebook user_photos permission
  14. 2- Install the script
  15. 3- Create Apps and Enjoy!
  16.  
  17. To create a facebook app:
  18. 1- open developers.facebook.com and sign up(if not already)
  19. 2- create an app
  20. 3- name it, and upload a logo
  21. 4- make sure to make it live in the app review section.
  22. 4- you'll need facebook login as product.
  23. 5- in "app domain" put yourdomain.com
  24.  
  25. To get facebook permission:
  26. 1- Open the dummy app
  27. 2- Unzip it and edit index.php
  28. 3- Change the variables $thisurl and $app_id
  29. 3- Copy app id from you developers.facebook.com and paste it for $app_id.
  30. 4- put your root url for $thisurl (http://yourdomain.com/)
  31. 5- your dummy script should work now.!
  32.  
  33. 6- After you've got the dummy script to work
  34. 7- Update the privacy policy url in the app settings to yourdomain.com/privacy.php
  35. 8- You can apply for user_photos permission now!
  36. 9- Go to app reviews and then choose user_photos to submit for approval
  37. 10- click edit notes on the permission and fill in the details.
  38. I usually choose "Other" in the top most choice and put the value as "To find a random photo as best photo"
  39. and be sure to write the steps in the below field. What I write is :
  40. "1.open mydomain.com
  41. 2.click "login with facebook"
  42. 3.wait for result image to load
  43. 4.Click share if wanted"
  44. You also need a screen recording for approval. Just capture you playing your app. That will be enough.(demo screen recording attached)
  45.  
  46. 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.
  47. 12- After getting the permission you may delete the dummy script.
  48.  
  49.  
  50. To install script:
  51. 1- Make a database and database user in your server cpanel
  52. 2- Import the db file to your database using phpmyadmin
  53. 3- use the database and user details and edit "parts/config.php"
  54. 4- upload the script to your hosting.
  55. 5- login to admin panel at yourdomain.com/admin
  56. the first username and pw will be
  57. username: demo
  58. password: demo123
  59. 6- You might wanna go to the settings page and edit things there.
  60. 7- Enjoy!
  61.  
  62. To use amazon s3 for storage:
  63. 0. Sign up in Amazon aws and create ans s3 Bucket (google these if you don't have any idea. It's easy!)
  64. 1. open generate/generate.php
  65. 2. on line 5 you'll find "$s3 = 0;"
  66. 3. change 0 to 1;
  67. 4. open s3.php in the root folder and change the s3
  68. 5. Change settings from line 17 to 21
  69.  
  70. To use your hosting for storage:
  71. 1. open generate/generate.php
  72. 2. set "$s3 = 0;"
Add Comment
Please, Sign In to add comment