Iphone - cannot grant permission for publishing on a Facebook page that i administer

Posted by user323817 on Stack Overflow See other posts from Stack Overflow or by user323817
Published on 2010-06-15T05:02:19Z Indexed on 2010/06/15 5:02 UTC
Read the original article Hit count: 230

Filed under:
|
|

I want to open a dialog on the IPhone so a user can grant my application permission to post on a Facebook page that the user administers. Following the docs, I can grant permissions for the user's stream and I can even post on a page that he is a fan of. However, the post on the page is listed as from the username, not on behalf of the page itself, even though he is an administrator of the page.

According to the Prompting for Permissions section at: http://wiki.developers.facebook.com/index.php/Authorization_and_Authentication_for_Desktop_Applications

I should be able to create a prompt on the IPhone for granting permission to publish_stream on a Facebook page that he administers. The sample url they give for a web "popup" dialog is:

http://www.facebook.com/connect/prompt_permissions.php?api_key=YOURAPIKEY&v=1.0&next=http://www.facebook.com/connect/login_success.html?xxRESULTTOKENxx&display=popup&ext_perm=read_stream,publish_stream&enable_profile_selector=1&profile_selector_ids=1234%2C5454

This works as expected and a drop down of the pages is displayed. However, since my application is on the IPhone, I change the display=popup to display=touch. This does not seem to work and I've tried fiddling with the parameters several ways but the drop down never comes up.

Anyone find a way around this? The popup option doesn't seem to work since I get an error trying to display it.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about facebook