Is the preferred method for displaying the connect button in another part of application done by:

fboauth_action_display('connect', $_GET['q']);