I tried to set facebook Social-comments plugin for my website running on local server, but the comment section is not getting visible for my Web url for Localhost
Working for Main Url
Does'nt work for subpage url
Anyone knowing Solution please give answer
Related
I have an e-commerce website and I want to share a link on my Facebook profile.
When I do I get a 404 - File or Directory not found even though the URL is working properly when you click on it. Below is what I see exactly:
I have tried:
To post the URL with https:// or without
https://developers.facebook.com/tools/debug/og/object
https://developers.facebook.com/tools/debug/sharing/
None of these solutions work!
The Sharing debugger shows this error:
But I don't understand how the error is legit since I have the parameters it's asking on my Page's Header tags.
What exactly is wrong?
I had the same problem at some point and the issue was that the team who manages our server had blocked the bots of Facebook and other search engines from entering our website and they forgot to undo this! Have a look if this is the reason in your occasion.
Can you please help me debug this! Whenever we are sharing content links from our website in facebook; its not working. Redirection to content works if I'm using desktop browser or directly opening the link in mobile browser. But from facebook in app browser I can see either its loading 404 page or the video doesn't play. What could be the reason behind this? Please check below link from here
Either redirect from http to https in general or change the og:image to https instead of http. If you enter the URL into the browser, you get redirected: http://www.bioscopelive.com/bundles/bongoweb/images/oglogo.jpg
You can also add og:image:secure_url as metatag with the https URL of the image.
Make sure that everything is public and not locked by gelocation or login. Facebook servers need to be able to reach the URLs.
I have installed Facebook like, share and comment buttons on my website and most of functionalities seem to be working ok, but after sharing a page on Facebook, thumbnail shows a blank page (clicking thumbnail takes user to the shared page, so there's no problem with that). Apparently this is how Facebook scraper sees my whole website.
I have determined that the probable cause is that the scraper (for some reason unknown to me) looks for website files in /var/www directory of my server, while website is located at /var/www/websitename/web. I have no idea what causes this, nor was I able to somehow direct Facebook scraper to correct path. What can I do to make everything work properly? I am using Debian+Apache+ISPConfig, website runs on Joomla!.
And the problem is solved. It was not SSL issue, nor any bug with code on my site. The problem was with Apache virtual host being configured for xx.xx.xx.xx:80 and xx.xx.xx.xx:443. Changing that to *:80 and *:443 automagically solved every problem Facebook scraper ever listed. Leaving this answer in case someone ever needs it.
My homepage redirects to the URL listed below to open an oauth dialogue with Facebook to validate user credentials.
<meta http-equiv="refresh" content="0;URL=http://www.facebook.com/dialog/oauth/?client_id=myclientid&redirect_uri=http://www.mywebsite.com/home/index.php" />
The Site URL (Website with Facebook login) in my Facebook App profile is
http://www.mywebsite.com
Everything works great for HTTP but when I recently implemented an SSL certificate I struggled to convert everything to HTTPS (changing HTTP to HTTPS in my redirect URLs and the Site URL in my Facebook app profile. I get the following Facebook error:
API Error Code: 191
API Error Description: The specified URL is not owned by the application
Error Message: Invalid redirect_uri: Given URL is not allowed by the Application configuration.
I've fought with this a few hours at a time but was never successful and always just changed the redirect URL and the Site URL in my app profile back to HTTP. Last night it worked! I published the code and tested it successfully on two separate computers in both IE and Chrome. This morning I woke up to the same error code I was getting before.
Does anyone have any ideas why my Facebook oauth dialogue seems to be fickle when it comes to HTTPS?
Make sure that you have a valid base domain specified in your app settings.
This is a working example of a website with Facebook connect. At the top I have added a code to:
Detect if the user is authenticated yet and if not it will...
Detect if SSL is being used
If SSL is in use it will check to makes sure that whatever the
current page is (gets dynamically) contains the URL you enter in the
first variable ('$sslurl' in the top settings); otherwise, it will
default back to $sslurl and add whatever page you were visiting to
the end of it.
It will then use the correct url to authorize the user using the
generated SSL url as the redirect_uri
The rest of the script is just a generic website with facebook
connect setup
It's too long to place inside code tags so I put them in a text file here:
http://o-e.us/ssl-facebook-connect.txt
Hopefully it helps, Good luck!
Currently when I add a Facebook Like button to my site it works correctly but it uses the domain of my site as what is being "liked". So on Facebook it appears like:
xxxxxx likes http://localhost:3000/ on localhost.
I would like to be able to change the content of what's being liked, but I couldn't find any clues in the documentation. :-/
Anyone have any ideas on this?
Thanks for looking.
When an user click the like button, Facebook visits the corresponding page to extract its title. If the page is unavailable (for instance, because it's on your localhost and thus unreachable from the Facebook servers) it uses the address instead. Everything will be fine once you publish your website on the internet.
You can set your Canvas URL to point to your localhost:81.