$facebook->api_client->call_method('facebook.Fbml.setRefHandle', array( 'handle' => 'bla_w', 'fbml' => $ProfileContent, // wide box ) ); $facebook->api_client->call_method('facebook.Fbml.setRefHandle', array( 'handle' => 'bla_n', 'fbml' => $ProfileContent2, // narrow box and main box ) ); $facebook->api_client->call_method('facebook.profile.setFBML', array( 'uid' => $user, 'profile' => '', 'profile_main' => '' ) );