को स्क्रैप करने में सक्षम नहीं है मेरे पास नीचे दिए गए अनुसार मेरे पृष्ठ के लिए HTML संरचना है। मैंने सभी मेटा और टैग जोड़े हैं, लेकिन फिर भी फेसबुक मेरी साइट से किसी भी जानकारी को स्क्रैप करने में सक्षम नहीं है।फेसबुक मेरे यूआरएल
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta http-equiv="Content-Type" content="text/html;" charset=utf-8"></meta>
<title>My Site</title>
<meta content="This is my title" property="og:title">
<meta content="This is my description" property="og:description">
<meta content="http://ia.media-imdb.com/images/rock.jpg" property="og:image">
<meta content="<MYPAGEID>" property="fb:page_id">
.......
</head>
<body>
.....
जब मैं इनपुट फेसबुक डीबगर में यूआरएल (https://developers.facebook.com/tools/debug), मैं निम्न संदेश मिलता है:
Scrape Information
Response Code 404
Critical Errors That Must Be Fixed
Bad Response Code URL returned a bad HTTP response code.
Errors that must be fixed
Missing Required Property The 'og:url' property is required, but not present.
Missing Required Property The 'og:type' property is required, but not present.
Missing Required Property The 'og:title' property is required, but not present.
Open Graph Warnings That Should Be Fixed
Inferred Property The 'og:url' property should be explicitly provided, even if a value can be inferred from other tags.
Inferred Property The 'og:title' property should be explicitly provided, even if a value can be inferred from other tags.
फेसबुक क्यों नहीं पढ़ रहा है मेटा टैग जानकारी? पेज पहुँचा जा सकता है और प्रवेश के पीछे छिपा हुआ नहीं आदि
अद्यतन
ठीक है मैं डीबगिंग के सा था और इस मैं क्या पाया है। मेरे पास मेरी निर्देशिका में htaccess नियम सेट है- मैं PHP कोडिनेटर फ्रेमवर्क का उपयोग कर रहा हूं और url से index.php को निकालने के लिए htaccess नियम है।
तो, जब मैं index.php के बिना फेसबुक डीबगर (https://developers.facebook.com/tools/debug) पर यूआरएल खिलाता हूं, तो फेसबुक 404 दिखाता है, लेकिन जब मैं index.php के साथ url फ़ीड करता हूं, तो यह मेरे पेज को पार्स करने में सक्षम है।
अब यूआरएल में index.php नहीं होने पर मैं फेसबुक स्क्रैप सामग्री कैसे बना सकता हूं?
यह अपने htaccess नियम है:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase/
#Removes access to the system folder by users.
#Additionally this will allow you to create a System.php controller,
#previously this would not have been possible.
#'system' can be replaced if you have renamed your system folder.
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
#When your application folder isn't in the system folder
#This snippet prevents user access to the application folder
#Submitted by: Fabdrol
#Rename 'application' to your applications folder name.
RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
#Checks to see if the user is attempting to access a valid file,
#such as an image or css document, if this isn't true it sends the
#request to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
# If we don't have mod_rewrite installed, all 404's
# can be sent to index.php, and everything works as normal.
# Submitted by: ElliotHaughin
ErrorDocument 404 /index.php
</IfModule>
यह 404 (नहीं मिला) त्रुटि कोड की रिपोर्ट कर रहा है। ** ** आपको उस यूआरएल के साथ कुछ गलत होना चाहिए जिसे आप खिला रहे हैं। –
हाय क्लाउस, मैंने अपने प्रश्न को कुछ डीबगिंग के साथ अपडेट किया है। कृपया एक नज़र डालें और मुझे अपनी टिप्पणियां – Ninja