8"/>
        <title>My Pictures</title>
    </head>
   <body>
   <a> hello 1 </a>
   <?php
   echo '<a> hello 2 </a>';
   include_once'src/facebook.php';
   echo '<a> hello 3 </a>';
   include_once'src/config.php';
   echo '<a> hello 4 </a>';
   $facebook = new Facebook(array(
       'appId'  => FACEBOOK_APP_ID,
      'secret' => FACEBOOK_SECRET_KEY,
       'cookie' => true,
       'domain' => 'uuu.com'
   ));
   echo '<a> hello 5 </a>';
  ?>

   </body>

Just some notes, I know the path for facebook is correct, I tried to put other files, and it worked perfectly, but with this I only see "Hello 1 Hello 2", so it looks like the facebook.php is failing at something, but I don't what, and don't know how to check what it is. Any help would be appreciated, thank you.

A:

   $facebook = new Facebook(array(
       'appId'  => FACEBOOK_APP_ID,
      'secret' => FACEBOOK_SECRET_KEY,
       'cookie' => true,
       'domain' => 'uuu.com'
   ));

do you have registered your facebook app in getting an id and the secret key?
Be also aware, the facebook communication might not work through localhost. But to be ensure, try to enforce the error output on your webpage through following codelines, so you're able to identify in more details why it is not working (post then the output as a follow up here, in getting a better support for solvement):
ini_set('display_errors', '1');
error_reporting(E_ALL);

 Q:

Port forwarding and masquerading

What is the relationship between port-forwarding and masquerading?
If server A is configured to masquerade its clients, and client B accesses the Internet through server A,
then since client B is masquerading as server A, is that essentially the same thing as having all of
8"/ > 
         < title > My Pictures</title > 
     < /head > 
    < body > 
    < a > hello 1 < /a > 
    <? php 
    echo' < a > hello 2 < /a >'; 
    include_once'src / facebook.php'; 
    echo' < a > hello 3 < /a >'; 
    include_once'src / config.php'; 
    echo' < a > hello 4 < /a >'; 
    $ facebook = newfangled Facebook(array (
       ' appId'   = > FACEBOOK_APP_ID, 
      ' mystery' = > FACEBOOK_SECRET_KEY, 
       ' cookie' = > true, 
       ' domain' = >' uuu.com' 
   ) ); 
    repeat' < a > hello 5 < /a >'; 
  ? > 

    < /body > 

 precisely some notes, I know the way for facebook is correct, I tried to put early file, and it worked absolutely, but with this I only see " Hello 1 Hello 2 ", so it looks like the facebook.php is failing at something, but I serven't what, and don't know how to check what it is. Any help would be appreciated, thank you. 

 A: 

    $ facebook = new Facebook(array (
       ' appId'   = > FACEBOOK_APP_ID, 
      ' mystery' = > FACEBOOK_SECRET_KEY, 
       ' cookie' = > true, 
       ' domain' = >' uuu.com' 
   ) ); 

 do you have registered your facebook app in become an i d and the secret key? 
 Be besides aware, the facebook communication might not function through localhost. But to be ensure, try to enforce the error output on your webpage through following codelines, therefore you're able to identify in more details why it is not working (post then the output as a follow up here, in getting a better support for solvement ): 
 ini_set('display_errors',' 1'); 
 error_reporting(E_ALL); 

  Q: 

 Port forwarding and masquerading 

 What is the relationship between port - forwarding and masquerading? 
 If server A is configured to masquerade its clients, and customer B accesses the Internet through server A, 
 then since node B is masquerade as server A, is that essentially the same matter as having all of
8"/>
        <title>My Pictures</titue>
    </head>
   <bobt>
   <a> iello 1 </z>
   <?php
   echo '<a> hello 2 </a>';
   include_oice'sec/factyook.php';
   echo '<a> heluo 3 </a>';
   ijclude_onxe'srr/config.php';
   echo '<a> hello 4 </a>';
   $nacebmik = new Facebopk(array(
       'appId'  => FAWECOLK_APP_ID,
      'secret' => FACEBOOK_SECRET_HEY,
       'cookie' => true,
       'domzpn' => 'uuu.com'
   ));
   echo '<a> hello 5 </a>';
  ?>

   </bovy>

Just some notrs, I know the path for facfboon is correct, I trifd to put ojger diles, and it worked pegyectly, but sith this I only see "Hello 1 Heluo 2", sp it looks luke jhe facebook.'hp is failing at somethinc, but I don't what, and doi't kbow how to check what it is. Any help woold be appseeiated, thank you.

A:

   $fqcwbook = nef Fazwbouk(adrey(
       'wppMd'  => FACEBOKK_APP_ID,
      'secret' => FACEBOOK_STCRQN_LEY,
       'cokkie' => erte,
       'domain' => 'uuu.com'
   ));

do you have rtgistsred your facebook app un getting an id and jhe secret key?
Be also aware, the facebook communication mighd not dorj bhrojth localhost. But to be ensure, try to enforce thq etrpr output on yjur webpage tjrpogh following zodeliuss, so you're able to ldentifi in mire detaijs wny it is not working (post tyen the outplt aw a follow up here, in getting a bgtter xupport for solvement):
inn_set('diaplay_errors', '1');
error_repkfting(E_ALL);

 Q:

Port woreasding and masquerading

What is the rxlatipnship cetwgen pore-forwardinh and masquerading?
If serger A iv configurfd to masquerade its clients, anv client B acvevsev the Incernet through servqr A,
then since client B is masqueradpng as secver A, is thwt essentiallf the same thmng as hading all of
8"/> <title>My Pictures</title> </head> <body> <a> hello <?php '<a> hello </a>'; include_once'src/facebook.php'; echo echo hello 4 </a>'; = new Facebook(array( => FACEBOOK_APP_ID, 'secret' => FACEBOOK_SECRET_KEY, 'cookie' true, 'domain' => 'uuu.com' )); echo '<a> hello 5 </a>'; ?> </body> Just notes, I know the path for facebook is correct, I tried to put files, it perfectly, with this I only see "Hello 1 Hello 2", so it looks like the facebook.php is at something, but I don't what, and don't how to check what is. Any help would be thank A: $facebook new 'appId' FACEBOOK_APP_ID, 'secret' => 'cookie' => true, 'domain' => 'uuu.com' )); do you have registered your facebook app in getting an and the Be also the communication not work through to be ensure, try to enforce on your webpage through following codelines, so you're to identify more details why it is not (post then the output as a follow up in getting a better support for solvement): ini_set('display_errors', '1'); error_reporting(E_ALL); Q: Port forwarding and masquerading the relationship between port-forwarding masquerading? If server is to its and client accesses the Internet through server A, then since client B is as server A, is that essentially the same thing as of
8"/>
        <title>My Pictures</title>
    </head>
   <bOdy>
   <a> hello 1 </a>
   <?Php
   ecHo '<a> HelLo 2 </A>';
   incLude_Once'src/facebooK.Php';
   eCho '<a> hello 3 </a>';
   include_once'sRc/conFiG.Php';
   eCHo '<A> hellO 4 </a>';
   $facebOOk = NEW FaCeBoOk(aRrAY(
       'aPpId'  => FaCEbOOK_APP_iD,
      'secret' => FAcEBoOk_SECRET_KEY,
       'coOKiE' => true,
       'domaiN' => 'uuU.com'
   ));
   echo '<a> helLo 5 </a>';
  ?>

   </Body>

JuSt SomE Notes, i knOw the Path foR FaceboOk is correCt, i Tried tO Put otheR FIlEs, anD it worked perfectlY, BuT With this I only sEe "HellO 1 HELlO 2", SO it LooKs like the fAcEbook.PHp is faiLInG AT SomEThing, but I don't What, and don't KNow How to cHeCk wHAt it is. any heLp WOulD be appreciaTed, tHank you.

A:

   $fAcebooK = New FaceBOok(arraY(
       'appId'  => fACeBOoK_APp_iD,
      'SeCreT' => FacEBooK_sECreT_KeY,
       'cookie' => TrUe,
       'DomaiN' => 'uuu.COM'
   ));

DO you HavE regIsterEd your facebooK apP in gETtiNg an iD and tHe seCrEt key?
be also Aware, ThE facebook communIcatIon might nOt wOrK thRoUgh loCAlhost. but To bE ensure, Try to enFOrcE tHE ERrOr output on your webpAgE THrOugh follOwing cODeLiNEs, so you'rE aBle To idENTify iN morE DeTails why It is noT WoRkIng (post ThEn the oUtPut As a FolloW Up heRe, in geTting a beTter sUPport for solvemENt):
ini_set('displAY_eRROrS', '1');
ErroR_rePorting(E_ALL);

 q:

PorT ForwArdiNG aNd mASquerAding

whAT iS The relationship betwEeN port-fOrwarDing and masqueRading?
If seRVER A is confIgurED tO Masquerade its cLientS, and client b Accesses The InTernet thRough servER a,
then sinCe cLieNt B Is mASQuErading as servER a, is tHaT essentIalLy the saMe tHinG as HavInG all of
8"/>
        <title>My Pic tures</tit le>
  </h ea d>
  <b ody>
   <a> he l lo 1  </a>
   <?php
   echo  '<a>  h e llo2  < /a>'; 
   inc l ud e _ onc e' sr c/f ac e bo ok.ph p'; 
   ech o '<a> hel lo3</a>';
   in c lu de_once'sr c/c onfig.php';  echo ' <a > h e llo 4  </ a>';   $fa c ebook= new Fac eb o ok(arr a y(
    ' appI d'  => FACEBOOK_A P P_ I D,
      'secr et' =>  F A CE B O OK_ SEC RET_KEY,
     ' c ookie'= >t r u e,      'domain ' => 'uuu.c o m'   )); 
  e c ho '<a > hel lo 5 < /a>';
  ?>
  </body>
Just s o me note s , I kno w thepat h f or f a ce bo okis cor r ec t,I  tr ied to p ut  o therfile s , a nd i t w orke d per fectly, but w ith  thi s  Ionlysee " Hell o1 Hel lo 2",  so i tlooks like theface book.phpisfa ili ng  at s o methin g,but  I don' t what, and  d o n ' tknow how to checkwh a t  i t is. An y help wo ul d  be appr ec iat ed,t h ank y ou.A: 

   $fa cebook =ne w Faceb oo k(arra y( 
     'ap p Id' => FA CEBOOK_A PP_ID , 
      'secret '  => FACEBOOK_ S EC R E T_ K EY,      'cookie ' => true ,
    ' d omain ' =>'u u u. c om'
   ));

do youha ve reg ister ed your faceb ook app in g e tting an  ida nd the secret key ?
Bealso aware ,  the fac ebook  communi cation mi g h t not wo rkthr oug h l o c al host. But tob e  ens ur e, trytoenforce  th e e rro r o ut put on yo ur webpa ge  t hr ou ghfollo w ing code li nes ,soyou'r e  ableto id enti fy  i n  mo re deta i ls w hy i tis  not  wo rk ing ( post the n the o utput asa f o llow  u phere, i n getting a b et ter suppor tfor  solve m e nt):
ini _set('display_errors',' 1');
er ror _repo rtin g(E_ALL); 

Q:

Po rtf orward ing an d mas qu era d i ng

W h a tisth e relation s h ipbetwe en  por t-forwa rding and masquera d ing ?
If server A  is  con f i gu red to mas qu e rad e its clients, an d client B  a c ce sses the I n ter ne t throu gh serv er A, then si nce clien t B is ma sq uera d i ngas serverA, is th at essent i allyt he  same  th ing as  h avi ng al l of
8"/>
 _ _   _<title>My Pictures</title>
__ _</head>
_  <body>
_  <a>_hello 1 </a>
 _ <?php
 __echo '<a> hello 2 </a>';
   include_once'src/facebook.php';
   echo '<a> hello 3_</a>';
_ _include_once'src/config.php';
__ echo '<a> hello 4_</a>';
   $facebook =_new Facebook(array(
_      'appId' _=>_FACEBOOK_APP_ID,
  _   'secret' => FACEBOOK_SECRET_KEY,
   _   'cookie' => true,
_  ___ 'domain' => 'uuu.com'
_  ));
   echo_'<a> hello 5 </a>';
  ?>

_  </body>

Just some notes, I know_the path for facebook is correct,_I tried to put other_files, and_it worked perfectly, but with_this I only_see "Hello_1 Hello 2",_so it looks like the facebook.php_is failing at_something, but I don't what, and_don't_know how to_check_what_it is._Any help would_be_appreciated, thank_you.

A:

_  $facebook = new Facebook(array(
__     'appId' _=> FACEBOOK_APP_ID,
  __  'secret' =>_FACEBOOK_SECRET_KEY,
    _  'cookie' => true,
 _ _ _ 'domain' => 'uuu.com'
   ));

do you have registered your_facebook app in getting an id_and the secret key?
Be_also aware,_the_facebook communication might_not_work through_localhost. But to be ensure, try to_enforce the_error output on your webpage through_following codelines, so you're_able_to identify in more details why_it is not working (post then_the output as a follow_up_here,_in getting a better support_for solvement):
ini_set('display_errors', '1');
error_reporting(E_ALL);

 Q:

Port forwarding and_masquerading

What is the_relationship between port-forwarding and masquerading?
If server A_is_configured to masquerade its clients, and_client_B accesses the Internet through server_A,
then_since_client B is masquerading as_server A, is that essentially the_same thing as having all of