| 引言回覆: |
------- Comment #69 From Jason 2011-06-14 14:23:40 PDT ------- Unfortunately there will not be a fix for this in the near term. Please work around it if possible. |
/* At your head of script, try to filter the parameter away and redirect again */
if (isset($HTTP_GET_VARS['fb_xd_fragment']))
{
header('Location: http://'.$_SERVER['HTTP_HOST'].str_replace('?fb_xd_fragment=', '', $_SERVER['REQUEST_URI']), true);
exit;
}
/* Like previous one, try NOT to add FB Like Button if fb_xd_fragment detected */
if (isset($HTTP_GET_VARS['fb_xd_fragment']))
{
$fb_button_fbxml = "<!-- workaround fb _xd_fragment bug //-->';
}