By James Gardner on Monday, 04 April 2016
Posted in Technical Issues
Replies 9
Likes 0
Views 542
Votes 0
Hi

When social sharing a post to Facebook, only the login page shows up. Is there a way to allow a post to be shown on Facebook?

Many thanks

James
Hi James Gardner,

I am sorry for the inconvenience caused. I have inspected that, you have make the home menu item set to registered only that caused Facebook cannot retrieve the data from your site. I have make the menu item to public and the social sharing to Facebook work fine now (see this screenshot: http://screencast.com/t/2L89rfDY51C). Can you give it a try to share a post stream, if you have already shared it previously, you can use this https://developers.facebook.com/tools/debug/ to clear up the facebook's cache.
·
Monday, 04 April 2016 18:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Fadhli

Thanks but the reason I had the home menu item set as registered was so that the site would re-direct correctly in the event a user was not logged in.

How do I now re-direct a user to /login when a user isn't logged in?

Kind Regards

James
·
Tuesday, 05 April 2016 01:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi James,

Correct me if I am wrong, as I understand correctly here, you want user that enter to your site to redirected to login phase, and without login, they cannot access your site? Unfortunately, this inquiry cannot be done, where the social sharing cannot retrieved the data from your site .
·
Tuesday, 05 April 2016 12:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Surely there must be a way to redirect to /login if not logged in, as it is possible by changing the access level, so it must be possible to put a piece of code in to the site to re-direct in the event the user is not logged in?

Many thanks

James
·
Wednesday, 06 April 2016 21:17
·
0 Likes
·
0 Votes
·
0 Comments
·
hey James,

I am sorry for the delay of this reply,

May i know do you want to fix which question ?

1. When the user access in your site, they must login first then only can see your site content.

2. When the user share Easysocial stream data to Facebook, it will retrieve correct data from your site.
·
Thursday, 07 April 2016 14:02
·
0 Likes
·
0 Votes
·
0 Comments
·
So I want to share to Facebook and be able to show the content, but also want to have the ability to redirect to /login when a user is not logged in, instead of staying on the same page and showing the login module.

Hope this helps

James
·
Friday, 08 April 2016 02:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi James,

To be honestly said, we would like to help you on this, but the facebook crawler is not handle by us.

Since you want to have the ability to redirect to /login when a user is not logged in from the page, at the same time when the Facebook want to crawl your steam content, they also do not have your site login access, so they can't retrieve any content from your site and come out display your homepage/require login content on the Facebook stream. Analogically, It was like there is a firewall blocking in betweem Facebook and your site, where the firewall was the login page .

Thanks for your understanding James
·
Friday, 08 April 2016 16:51
·
0 Likes
·
0 Votes
·
0 Comments
·
I understand that there is a conflict, however since the system can show a login module (i.e. knows a user is not logged in), can it not instead redirect to /login?

Many thanks

James
·
Saturday, 09 April 2016 01:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

Perhaps you can assign this "Articles ยป Special page: Blank Content" Login page (screenshot : http://screencast.com/t/UPXqbTwC7a )as your site homepage, so your site user have to login first then only can view your Easysocial content.
·
Saturday, 09 April 2016 13:22
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post