Stream - enable_profile_selector

Today i working on publishing content from drupal website to facebook page as page not as user - then it hide private author information and show page information as author information, if to post this from facebook website page wall it works, just now i trying to do same from drupal website.

For node content publishing i use my own publishing module which use great Drupal For Facebook stream module, with it i sucessfuly posting on my personal walls and on page walls, just on page walls it show my private info as author info but not page info.

Regarding this information: http://developers.facebook.com/docs/reference/rest/stream.publish

Parameters: target_id and uid description says:

If you want to publish as page, you should use the 'enable_profile_selector' option with FB.login. This option enables the profile selector on the permission dialog. as i understand enable_profile_selector it's not permission but some JavaScrit setting on connect as guys discuss it here: http://forum.developers.facebook.net/viewtopic.php?pid=177935#p177935 they send it as GET parameter, then when user is asked permissions he can choose profile, if you facebook page admin then you can choose your page profile, then if to publish content from drupal website to page it will show on page page info as author.

So basically problem is where to enable 'enable_profile_selector' in Drupal For Facebook stream because i not found FB.Login code in any module files, I still not Drupal Guru :) but as i understand it require to pass at login functionality.

P.S. Sorry for poor english, i better speak in russian as 2ndary language.

BR,
AG.

I'm really not sure, but I

I'm really not sure, but I think that thread may be old and not apply to the newer libraries.

You may need the stream_publish extended permission, http://developers.facebook.com/docs/authentication/permissions

Sometimes I use markup like this for a login link. You may be able to modify it for what you need.

<a href='#' onclick="FB.login(function(response) {},{perms:Drupal.settings.fb.perms}); return false;">Log in</a>

Hello, stream_publish

Hello, stream_publish permission i enabled all the time, as i know if to not enable this permission, user at all unable to post to facebook.

I now analysing correct function call, because one of parameters can include profile ID like website id, then now i will check maybe to pass this, maybe it will helps.