I tried to share folder image using php share url using below code:
$url='https://www.facebook.com/sharer/sharer.php?app_id=xxxxxxxxxxxxx&u=https://localhost/PhpProject1/temp/image1.png&display=popup&ref=plugin';
echo '<a href="'.$shareUrl.'"><button style="width:70%;background-color:#4267B2;color:white;border:none;height:35px;">Share on Facebook</button></a>';
But it is giving the error as 'Sorry, this feature isn't available right now: An error occurred while processing this request. Please try again later.'. I tried to solve this error but, not succeeded. So, please help me in solving this problem.
Thanks in advance.