views:

290

answers:

2

I am making a FBML facebook application. Currently, when a user visit my application for the first time he is asked to allow his profile details to be shared or not. I want the user to be asked for publish_stream permissions in the same login screen. How can I do this?

As far as i know the way to do is redirect the user to a url like:

<fb:if-is-app-user>
<!-- your normal code -->
<fb:else>
<fb:redirect url="http://www.facebook.com/login.php?v=1.0&amp;api_key=[your_app_key]&amp;next=[your_canvas_page_URL]&amp;canvas="/&gt;
</fb:else>
</fb:if-is-app-user>

I guess my URL is wrong because of the fact there is no place to insert the comma seperated list of permissions that I require!!!

A: 

Listen, facebook changed their policy to ask for extended permission. At the authentication time you've to ask for extended permission. visit the link to know more http://bit.ly/bxb1R0

Mahmud Ahsan
Thanks for the link.
Abhishek Gupta
Please stop using bit.ly or tinyurl ! This isnt Twitter, you have enough space here and I like to see where the link is going!
paskster
A: 

The actual link where the user should be redirected is following:

<fb:redirect url="http://www.facebook.com/login.php?v=1.0&amp;api_key=xxxxxxxxxxxxxxx&amp;next=http%3A%2F%2Fapps.facebook.com%2Fxxxxxxxxxxx%2F&amp;canvas=&amp;req_perms=publish_stream"/&gt;
Abhishek Gupta

related questions