Devam Ediyor

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ün: wordpress app api, sdk facebook php, programar php, facebook sdk , sdk api, php redirect loop, php facebook sdk, redirect loop, permissions php, facebook api friends list, redirect code, php permission, facebook app redirect, facebook sdk php, php user permission, infinite loop php, alguem, infinite redirect, wordpress api php, list facebook friends php, wordpress redirect problem, programar app, facebook api code, php programar, facebook app code

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

Proje NO: #6515064

Seçilen:

workon

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 30$ USD
(145 Değerlendirme)
6.8

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

PrajwalShetty

I have 7 years of experience in facebook application development. One of the recent project work i have worked is using facebook graph http://www.nightlinx.com/ Prajwal

in 3 gün içinde50$ USD
(66 Değerlendirme)
6.0
Ivan96

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 fazlası

in 3 gün içinde100$ USD
(48 Değerlendirme)
5.8
CristianPopa

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 facebook.com if so. There are few mor Daha fazlası

in 3 gün içinde30$ USD
(10 Değerlendirme)
3.2
tons4444

A proposal has not yet been provided

in 3 gün içinde155$ USD
(0 Değerlendirme)
0.0
genata93

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 fazlası

in 3 gün içinde35$ USD
(0 Değerlendirme)
0.0
maxijimenez

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 50$ USD
(0 Değerlendirme)
0.0