Facebook iFrame links go out of bounds

Any FB experts here? After reading about 15 threads on the FB forums, I don’t know where to go next = (

We have an iFrame FB app: http://apps.facebook.com/myapp

all links used in the application are similar to: href = "http: //www.mysite.com/index.php? parm = value ..."

Now, when I click on any link, I log out of Facebook and land on our server.

I don’t know how to solve this! using links with facebook server without option.

Thanks guys for some tips!

+3
source share
3 answers

, Facebook , , "" iframe , Facebook.

, Facebook, , , GET, Facebook, " Facebook", , Facebook; , , Facebook ( session_key, api_key sig digest), , , , .

iframe, , . , , URL- :

function fb_sig_urlQueryString() {
  $query = '';
  foreach ($_GET as $k => $v) {
    if (strpos($k, 'fb_sig') === 0) {
      if ($i++ > 1) $query .= '&';
      $query .= $k.'='.$v;
    }
  }
  return $query;
}
+2

, iframe ? , "target" html "_self", iFrame.

0

Source: https://habr.com/ru/post/1720891/


All Articles