By eFab on Thursday, 15 March 2018
Posted in Technical Issues
Likes 0
Views 698
Votes 0
Hello,
First at all this is my first EasyBlog installation and i really like it!
But i have a little problem with the autopost-function.
I did the complete configuration at the facebook-developers-panel and also configured the "Facebook-Login".
The error appears with the "click" on "Sign in with Facebook" in the Autoposting Settings from Easyblog/Joomla.

The Error says:

"warning
URL Blocked: This redirect failed because the URI was not whitelisted for redirection in the client's oAuth settings. Make sure client and web OAuth login are turned on and add all your app domains as valid OAuth forwarding URIs."

I think i have to add another domain to the redirect domains within the "facebook-client oauth settings" but wich one?

Any ideas?

Thank you for answer,
Erik
Hey Erik,

Firstly, welcome on board and Thank you for the kind compliments! In EasyBlog 5.2, we have already added these urls that you could copy and paste into the whitelisted URI but since it isn't stable yet (as it is still in beta 2), you can add these links into your whitelist urls,

https://yoursite.com/index.php?option=com_easyblog&task=oauth.grant&client=facebook
https://yoursite.com/administrator/index.php?option=com_easyblog&task=facebook.grant&system=1
https://yoursite.com/administrator/index.php?option=com_easyblog&task=facebook.grant

You need to replace yoursite.com with your domain name
·
Thursday, 15 March 2018 21:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you for you quick response,

i have these URL's in redirect now:

http://aelterwerden.net/index.php?option=com_easyblog&;task=oauth.grant&client=facebook

http://aelterwerden.net/administrator/index.php?option=com_easyblog&;task=facebook.grant&system=1

http://aelterwerden.net/administrator/index.php?option=com_easyblog&;task=facebook.grant

but unfortunately i still get the same error.

I've added two screenshots with my settings too.
·
Friday, 16 March 2018 16:34
·
0 Likes
·
0 Votes
·
0 Comments
·
hey there,

In order to work this, you have to replace these following files into your site.

Can you try download my attached file and replace into following files location :
JoomlaFolder/components/com_easyblog/controllers/oauth.php
JoomlaFolder/administrator/components/com_easyblog/includes/oauth/adapters/facebook/client.php


Then make sure you apply the correct redirect URI from your Facebook app.

[gist type="php"]
http://yoursite.com/index.php?option=com_easyblog&task=oauth.grant&client=facebook
http://yoursite.com/administrator/index.php?option=com_easyblog&task=facebook.grant&system=1
http://yoursite.com/administrator/index.php?option=com_easyblog&task=facebook.grant
[/gist]

If the issue still persists, can you provide us with your Joomla backend and FTP access at http://stackideas.com/dashboard/site so we can better have a check?

Note : Backup the original file before you replace these files.
·
Friday, 16 March 2018 19:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey,

it works

Perfect support!! Thank you!
·
Saturday, 17 March 2018 06:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Saturday, 17 March 2018 09:55
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post