Olá,desculpe o meu inglês.
Preciso de alguem que saiba programar em facebook PHP SDK
My problem is:
I have a Facebook app. When a user goes to it they are asked for permission to access their basic profile data and friends list. If a user clicks “cancel” on the permissions dialog they are redirected back to my app. It creates an infinite loop, which Facebook detects and displays a message that the app is not conforming to Facebook policies. I learned that the redirect_uri is the same whether or not the user accepts or denies permissions. I am looking for a way to detect that a user has denied (clicked “cancel”) and redirect them somewhere else to avoid the infinite loop. I’m trying to make sense of Facebook’s documentation but its just all over the place :(
I have only 42 hours to solve this problem
Here is some of my code…
[url removed, login to view]
Ok, so i can just edit your code and make sure you while user cancel the permission, you script display a "Authentication Cancelled" type message. Will that help you ?
6 freelancers are bidding on average $67 for this job
I have 7 years of experience in facebook application development. One of the recent project work i have worked is using facebook graph [url removed, login to view] Prajwal
You have many ways to do this :) The simple PHP way is to detect where the user comes from (the refferal) Check if there is a match with your app link and redirect him back to [url removed, login to view] if so. There are few mor Daha fazlası
I have developed a Facebook class that works fine. It'll avoid any loop and allow you to do whatever you want if the user doesn't grant you with the permissions you asked for.