2016-03-20 8 views
0

Test web sayfam için facebook girişini entegre etmeye çalışıyorum. Web sitemi yerel makinemde http:///127.0.0.1:8000 adresinde barındırıyorum. Yönlendirme URL'm http://127.0.0.1:8000/home. Ben (aynı makineden) benim facebook hesabından giriş çalıştığınızda Ama atıyor: Uygulama Alanları Site URL'sihttp://127.0.0.1:8000/ olduğunu 127.0.0.1:8000 ve ihtiva Temel ayarlar altında "URL Blocked: This redirect failed because the redirect URI is not whitelisted in the app’s Client OAuth Settings. Make sure Client and Web OAuth Login are on and add all your app domains as Valid OAuth Redirect URIs." ve "Given URL is not allowed by the Application configuration: One or more of the given URLs is not allowed by the App's settings. It must match the Website URL or Canvas URL, or the domain must be a subdomain of one of the App's domains." (Ben de sondaki olmadan denedi '/'). Gelişmiş Ayarları'ndaServer IP whitelist'un 127.0.0.1 ve Valid Oauth redirect URIs'un http://127.0.0.1:8000/home olduğu. Ve İstemci OAuth Ayarları'un altında her şey Yes olarak ayarlanmıştır. Neyi yanlış yaptığımı bilmiyorum. Web sitemi yerel sunucumda barındırıyorum diye mi? Şimdiden teşekkürler.localhost üzerinde test etmeye çalıştığınızda Facebook giriş hatası gösteriliyor

cevap

0

Facebook'ta bir 'Test uygulaması' oluşturmalısınız. Bu ilgili cevaba bir göz atmalısınız. https://stackoverflow.com/a/33131470/2405066

+0

Site URL'mde bahsettiğim gibi http://127.0.0.1:8000/. Ayrıca, http://127.0.0.1:8000/ ve http://127.0.0.1:8000 – sajid

+0

@ user3708999'u da denedim. Cevabı ve yorumunuzu tekrar okumanız gerekiyor – techblu3

+0

Teşekkürler! Son yanıtı görmedim – sajid

İlgili konular