Facebook PHP API – redirect user when they deny permission

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]

Beceriler: Facebook Pazarlama, PHP, WordPress

Daha fazlasını gör: wordpress app api, sdk facebook php, programar php, problem of facebook, sdk api, facebook sdk , c sdk api, php redirect loop, detect php, php http redirect, php facebook sdk, redirect loop, permissions php, facebook api friends list, http redirect, redirect code, php permission, facebook app redirect, facebook sdk php, php user permission, facebook com friends profile, http redirect code, infinite loop php, alguem, infinite redirect

İşveren Hakkında:
( 4 değerlendirme ) Rio de Janeiro, Brazil

Proje NO: #6515064



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 ?

1 gün içinde %selectedBids___i_sum_sub_4%%project_currencyDetails_sign_sub_5% USD
(145 Değerlendirme)

Bu iş için 6 freelancer ortalamada $67 teklif veriyor


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

in %bids___i_period_sub_35% gün içinde50%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(66 Değerlendirme)

Hello sir. I am Ivan Jovanovic, professional web designer and developer. I have big experience facebook api and I know how to create this for you. I am sure that I can provide you best results. You can check my works o Daha Fazla

in %bids___i_period_sub_35% gün içinde100%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(48 Değerlendirme)

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 Fazla

in %bids___i_period_sub_35% gün içinde30%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(10 Değerlendirme)

A proposal has not yet been provided

in %bids___i_period_sub_35% gün içinde155%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)

Hello, I can handle your project. Already have idea how to fix it. Please PM me with more info. Since the vary bad time difference I am going to bed now. I can solve your problem earlier after 8 hours. PM if you ne Daha Fazla

in %bids___i_period_sub_35% gün içinde35%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)

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.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% USD
(0 Değerlendirme)