tags:

views:

149

answers:

1

Hi,

Im trying to redirect to facebook to request permission to publish stream. However, it only works when i did not specify any display parameters, it shows me a web version of it. I wanted a wap version instead. What should I do?

Here's the code:

<form method="post" action="https://graph.facebook.com/oauth/authorize"&gt;
    <input type="hidden" name="client_id" value="1XXXXXXXXXXXXXX" />
    <input type="hidden" name="scope" value="publish_stream" />
    <input type="hidden" name="redirect_uri" value="http://www.redirect.com/" />
    <input class="button" type="submit" value="Request..." />
</form>

When i submit this form, it will redirect to http://www.facebook.com/connect/prompt_ … y=page....

If I were to change the "redirected url"'s display param to "wap" it will works. However, if I were to submit to https://graph.facebook.com/oauth/authorize?display=wap. Nothing will happen and it will redirect back to the source url.

Any help/hint will be grateful.

Thanks a mil, Mickey

A: 

Hey man I'm having the same problem! I'm trying to get the graph api to work and get the extended permissions page to work. I'm developing an application for BlackBerry so I need to set the display=wap parameter. For some odd reason when I open the authorize page of the graph api with display=wap, it doesn't work!!

Have you reached anything with this problem?

Yup, I have the same issue. It just didnt work. Facebook release untested stuff? Disappointing.
Mickey Cheong

related questions