Redirect back to facebook app after accepting/denying permissions loop
$30-250 USD
종료됨
게시됨 9년 이상 전
$30-250 USD
제출할때 지불됩니다
Hello, I have a problem .I some applications for facebook, but this week I received the message:
It Appears que your app is repeatedly redirecting people to the Login Dialog They decline after permission requests. This means que if someone is looking at the Login Dialog for your app and clicks 'Cancel' rather than accepting the permissions, the Login Dialog is automatically shown again and They have no way to get out of this loop.
This is Considered a Violation of Facebook Platform Policy 7.5 - 'If the person declines the permission, you can prompt again after Them They Indicate an intent to grant you the permission.'
- I need someone to fix this problem for me.
My code is simple, but use wordpress to create applications.
Within the [login to view URL] I created a canvas facebook page.
Within this canvas page, I call "custom fields" to add the wordpress functions "AppID", "idsecret", "canvaspage" and others.
- Also need to be corrected in the code, the security flaws of php.
- I need you to give me support if any error or I am not satisfied with the service provided.
Please note that some parts of the code are in Portuguese.
The code is as follows: [login to view URL]
hi
I will add the loop ro get user out of it. if user will not grant permission to access then it will be back to the page. it will not redirect user to login dailog again
regards
I have updated my price offering based on your additional information.
I'd also encourage you to visit my profile to learn what my satisfied clients have to say about my work ethics and professionalism.
john.
--------------------------
Greetings,
my team can help you with this Facebook integration issue. I'd encourage you to engage in a discussion to refine your requirements and get started right away!
Regards,
John.
Hi, the problem is you're using the getUser() method, which returns 0 (false in PHP logic) in three cases:
1- the user denies to give full permissions to your app (this is your case)
2- the redirect_uri doesn't match the one you set on your app dashboard
I suggest you to dumb checking if getUser() return true or false and instead use Facebook JS-SDK then pass it to server-side with AJAX or check if there's $_GET['code'] or not that's might be a bit hard but makes the flow sensible to avoid redirect loop
Regards :)
Olá,
Moro em Portugal. mas sou brasileiro aí de Sâo Paulo, onde passei a maior parte de minha vida. Tenho mais de 20 anos de experiência e há 3 meses coloquei em funcionamento uma aplicação deskptop em C# para o Facebook.
Posso dizer que conheço bem o processo de login do facebook e creio poder ser útil em lhe ajudar a resolver este problema.
Não entendi o que quiz dizer com "open graph debug", mas disto podemos falar depois, já que a minha oferta foi feita depois.
Agradeço pelo seu tempo e fico a espera de poder discutir minhas qualificações,
Atenciosamente
Rogério Reis da Silva
Hi there,
Thanks for posting your project we are interested in your work & have vast experience in blog creation & customization.
We will fix out the problems & that all will be done in few hour & you can check the changes as well.
We have already worked with on lots of WordPress Blogs, their customization and their Optimizations as well.