Facebook.Not getting real mail

More
1 year 5 months ago #8565 by Kyriakos Liarakos
Hi, I have setup my own facebook app using your tutorial. users can login and I am getting the profile image and mame but not real mail. I am getting something like This email address is being protected from spambots. You need JavaScript enabled to view it.

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago #8571 by JoomLine
Hello.
Mail may not be given due to user privacy settings, or application settings.
If it is impossible to receive mail for some reason, then it is generated automatically.

Please Log in or Create an account to join the conversation.

More
1 year 4 months ago #8581 by Kyriakos Liarakos
Thanks for your reply.
In FB App Permissions and Features list, email and public_profile are displayed as live and No Additional Requirements
In slogin facebook ussers list, I have 536 users, all with random email and blank Public Profile
I dont know what else to check.

Please Log in or Create an account to join the conversation.

More
11 months 2 weeks ago - 11 months 2 weeks ago #8735 by Валентин Варапаев
The problem is that part of the code was removed from the Facebook plugin
Because of what your site does not ask for an email address from Facebook
I solved the problem by adding some of the code to \plugins\slogin_auth\facebook\facebook.php

public function onSloginAuth()
{
$redirect = JURI::base().'?option=com_slogin&task=check&plugin=facebook';

$scope = 'email,public_profile';

$params = array(
'client_id=' . $this->params->get('id'),
'redirect_uri=' . urlencode($redirect),
'scope=' . $scope,
'response_type=code'
);

$params = implode('&', $params);

$url = 'www.facebook.com/v2.12/dialog/oauth?' . $params;
return $url;
}
Last edit: 11 months 2 weeks ago by Валентин Варапаев.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

Last from the forum

    • некоторые проблемы с ajax
    • если позиция модуля находится внутри контейнера который задан в поле "Селектор контейнера Ajax", то модуль ведет себя непредсказуемо. при применении фильтра иногда перезагружается страница (при том что включен ajax) так же после применения фильтра иногда появляется поле (в конце формы, после кнопок) <input type="text" name="your_address_here" value=""> если кто-то из разработчиков захочет посмотреть - могу скинуть в личку ссылку на тестовое окружение где воспроизводится ошибка и креды чтобы зайти на фронт и в админку.  
    • In Modules Joomline / JL Content Fields Filter
    • SLogin Error after login with Facebook or Google
    • "SLogin Error after login with Facebook or Google". Facebook and Google account login is the most common method of login for social media sites and several other internet websites. In most cases it is used to compare the accuracy of passwords and usernames with their respective social media accounts.
    • In Component / Slogin
© 2010- JoomLine
The Joomla!® name is used under a limited license from Open Source Matters in the United States and other countries. joomline.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

email: This email address is being protected from spambots. You need JavaScript enabled to view it.