Creates a wall posts list for public posts, at yourwebsite.com/wallposts (when not loggedin)
Hi Michael Zulsdorff.
Thank you for this information I will try to make the changes and see how it works out.
Helen,
looks like your PrivateNetwork component is blocking that page.
You may either add 'wallposts' manually to components/PrivateNetwork/classes/PrivateNetwork.php
at the end of the first array like
array(
'css',
'js',
'action',
'administrator',
'uservalidate',
'resetlogin',
'index',
'login',
'api',
'avatar',
'userverified',
'two_factor_login',
'captcha',
'sharedblogs',
'contact',
'site',
'wallposts',
//'p', // remove the 2 slashes in the beginning of this line to allow viewing of ALL custom pages
or ask Arsalan to add the necessary hook to the next version of this component to exclude it from the PrivateNetwork restrictions.
I uploaded this Public Wall Posts, but it still asks me to login to view any of the links. Plus, it says error message about 404 for bdasocial.com/wallposts has probably been deleted.
My question is do i need to create a page called wallposts and manually insert all the links that appear on the homepage?
I couldn't send it here... I'm new and don't understand much yet, but I uploaded it as a new plugin to my account and gave you the credits. Thanks!
Hi!! Arsalan Shah, thanks to you sharing your plugin, I made a small improvement by adding infinite scroll. Additionally, for unregistered users, it redirects them directly to /wallposts, and for logged-in users, it automatically redirects them to /home.
Thank you very much. It only works if I share it like this: example.hu/wallposts. Not working: https://example.hu/wallposts.
You need to post again. Debug it here https://developers.facebook.com/tools/debug/
Does it appear properly on Facebook? I still have a blank white image.
Working fine
Now this is what the end of the file looks like, and yet there is no preview image, although if I open the link, the image appears there.
echo '</div>';
?>
<meta property="og:image" content="https://webpage.hu/viev.jpg"/