php - facebook Tab Page app not working -


I added my Facebook app to a page but when it reached to reach me a blank emoticon with a blank Shows the page. Any idea what is causing this ? I have pasted from the index and config file that I am using.

The index file is with my link:

   & Lt; Style type = "text / css" & gt; Body {width: 520px; Margin: 0; Padding: 0; Border: 0; } & Lt; / Style & gt; & Lt; Meta http-equiv = "content-type" content = "text / html; charset = ISO-8859-1" /> & Lt; / Head & gt; & Lt; Body & gt; & Lt; Div id = "container" & gt; & Lt; P & gt; Page The Dulcuri A Lui Alexis & lt; / P & gt; & Lt; A href = "formular.php" & gt; Du-To La Formular & lt; / A & gt; & Lt; / Div & gt; & Lt; / Body & gt; & Lt; / Html & gt;  

config.php:

  & lt ;? Php is required './src/facebook.php'; $ FbPermissions = 'publish_stream, manage_pages, photo_upload'; $ Config = array ('APPID' = & gt; 'id', 'secret' = & gt; 'secret', 'fileUpload' = & gt; true, // optional 'allowSignedRequest' = & gt; // is optional, but it should be non-canvas app's 'cookie' => set to false for true;); $ Facebook = new Facebook ($ config); $ Session = $ Facebook- & gt; GetUser (); If ($ session) {} else {echo "Please login and come back!"; }? & Gt;  

thanks Enter image details here

I think you have enabled Safe Browsing in the security settings of the FB account. Therefore, FB tries to request your application via HTTPS. Ensure that your server is capable of handling HTTPS connections.


Comments