Error Parsing Input Url No Data Was Scraped
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you error parsing input url no data was cached or no data was scraped. wordpress might have Meta Discuss the workings and policies of this site facebook debugger document returned no data About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting facebook og image size ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7
Facebook Scraper
million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Facebook - Error parsing input URL, no data was cached, or no data was scraped up vote 8 down vote favorite 1 After research I found that alot of people facing the same issue. But so far I don't solution, this happened after I switch my server to linode.com lets take an example. www.acemark2u.com is one of the website hosted under the linode server, when I try to debug in https://developers.facebook.com/tools/debug/og/object/, it just couldn't fetch the scrape information correctly, and if I try with one of the page www.acemark2u.com/about-us, it just show me the error "Error parsing input URL, no data was cached, or no data was scraped." weird things happen. when I try to debug using ip address 106.187.35.114/~acemark2 everything goes smooth. fetching nicely, no error 404 for pages. I suspect it might caused by "gethostbyaddr" function (ref: http://www.gearhack.com/Forums/DisplayComments.php?file=Computer/Network/Internet/Preventing_Your_Web_Server_From_Blocking_Facebook_Share) but so far I don't have solutions. php facebook facebook-opengraph share|improve this question edited May 29 at 1:01 Vini.g.fer 3,08361944 asked Sep 9 '14 at 14:54 bravo net 38041123 add a comment| 5 Answers 5 active oldest votes up vote 12 down vote For people experiencing the same issue but for different causes, I discovered a few interesting thing
strange problem couple of weeks ago; could not share any links from couple of my sites to Facebook. I mean, I was able to share the links, but nothing showed up when pasting the link to the "What's on your mind?" field. Never happened to me before. Facebook URL debugger is a great tool for testing links, because Facebook's cache can be a real pain sometimes. But instead of even remotely partial results, I got (even when fetching new data), without any other output: Error parsing input URL, no data was cached, or no data was scraped. And when echoing from the URL, got: Document returned no data I went through literally all the first ten pages of Google and http://stackoverflow.com/questions/25747758/facebook-error-parsing-input-url-no-data-was-cached-or-no-data-was-scraped never found any solutions. This was ongoing for weeks. To save you the trouble, here's the basic stuff that have to be right for Facebook sharing to work: Open Graph meta tags (og:image should be more than 200×200 px and preferably 1500×1500): og:url, og:title, og:description, etc. There are many great WordPress plugins for this, for example wonderm00n's and YOAST's When sharing, share without last trailing slash (http://www.google.fi, not http://www.google.fi/) If you use WordPress SEO, disable Force rewrite titles under Titles https://www.adminlabs.com/solved-facebook-doesnt-fetch-data-when-sharing-url & Metas Recommended to use wonderm00n's Simple Facebook Open Graph plugin, it adds all the necessary pieces to make this work properly. I noticed the regular testing didn't help. If you want to test by sharing on your own page, you should add random id to the end of your url, e.g. http://www.google.com/?=34 and change the number again and again. If that doesn't work, then it's probably server side issue. I stumbled on many tips that hint the issue may be on the server side, for example in Stack Overflow and Dreamhost discussions. The culprits in server side: Your domain's DNS records: Check that your records are right. For me the issue was CNAME alias in www, it seems Facebook is not a fan of those and prefers A-record in www instead. When I changed this and waited the TTL, everything was fine. Still got the error, but it fetches the data without trailing slash in URL and that is the most important thing. Double check your records, there should not be anything that you don't need Your SSL certificate has to be properly configured and valid. Check that your mod_security rules are not overly protective Check that Facebook crawler has access to your website and your other settings are not blocking Facebook. Configure your server's whitelist and follow Facebook's best practices here For me the issue might have been CNAME (it was www CNAME domain.fi., c
Plans & Pricing Partners Support Resources Preview Forums Forums Quick Links Search Forums New Posts Search titles https://forums.cpanel.net/threads/error-parsing-input-url-no-data-was-cached-or-no-data-was-scraped.427241/ only Posted by Member: Separate names with a comma. Newer Than: Search this thread only Search this forum only Display results as threads More... Useful Searches Recent Posts Resources Resources Quick Links Search Resources Most Active Authors Latest Reviews Feature Requests Defects Menu Log in Sign up The Community Forums Interact with no data an entire community of cPanel & WHM users! cPanel Forums > cPanel & WHM® (for Linux® Servers) > General Discussion > This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More. Error parsing input URL, no data was cached, or no data was error parsing input scraped Discussion in 'General Discussion' started by crliuh, Sep 9, 2014. crliuh Member Joined: Jun 16, 2014 Messages: 23 Likes Received: 1 Trophy Points: 3 cPanel Access Level: Root Administrator It might be inappropriate to post this question right here, but i've posted it in linode.com forum and stakeoverflow, so far i didn't get any feedback from these two communities, i decided to give a try in here. After research i found that alot of people facing the same issue. But so far i don't solution, this happened after i switch my server to linode.com lets take an example. domain.com is one of the website hosted under the linode server, when i try to debug in /https://developers.facebook.com/tools/debug/og/object/, it just couldn't fetch the scrape information correctly. weird things happen. when i try to debug using ip address 106.187.xx.xxx/~acemark2 everything goes smooth. fetching nicely, no error 404 for pages. i suspect it might caused by "gethostbyaddr" function (ref: /http://www.gearhack.com/Forums/DisplayComments.php?file=Computer/Network/Internet/Preventing_Yo