facebook re-requesting publish-stream permission

HI I’ve finally managed to get my facebook integration so that I can post comments to a forum and a post to the wall. Pretty good when it all works.

(nb library code in https://github.com/open768/library/blob/master/lib/lib-facebook.lua)

But I have a problem, I’m wondering if this is a problem with the daily build I’m using 2012.861,
which I discovered while break-testing, when I decline the permissions that the facebook dialog asks me, I can not get facebook to show the dialog that re-requests the permisssion - so until the user goes into facebook proper and removes permissions for my app, I cant post from the app.

if doing a
[lua]facebook.login( psAppID, self.fnClosure, {“publish_stream”} )[/lua]

So the facebook login works, but without giving me the publish stream that I’ve asked for.
I’ve switched on app debugging on the device and it gives me the following - showing me that its definitely communicating with facebook

[text]
DEBUG: 14/08/2012 19:32:32: requesting facebook permission
EXTDEBUG: 14/08/2012 19:32:32: {“type”:“session”,“name”:“fbconnect”,“expiration”:1350077913,“phase”:“login”,“token”:“BAAF0SHMw4nABAIZAG3SOYlPOZAqFiIv98adkz8ooZAAVaio4t5wOAq2g2I1tZBIXTJOAeEGSETJhZBBHGivBQYPG70zGkZBYOSeVWyfAsokATQLxxbGbXPTaZCVCZALszZAoZD”,“isError”:false,“response”:""}
INFO: 14/08/2012 19:32:32: cFacebook: login OK
EXTDEBUG: 14/08/2012 19:32:32: cLibEvents dispatching event: onFBLikeStep
DEBUG: 14/08/2012 19:32:32: cFacebook request me/permissions
EXTDEBUG: 14/08/2012 19:32:34: {“type”:“request”,“name”:“fbconnect”,“didComplete”:false,“isError”:false,“response”:"{“data”:[{“installed”:1}]}"}
[/text]
nb if I had the correct permissions it should show up as response.data.publish_stream.

so is this behaviour a facebook library bug? or is there a different facebook graph api I should be calling once logged in to re-request publish_stream?

thankx [import]uid: 74338 topic_id: 29885 reply_id: 329885[/import]

Just to be clear login returns as as success even when the permission is declined, then subseqent calls to login dont show the facebook page requesting the permission . Help please. [import]uid: 74338 topic_id: 29885 reply_id: 119933[/import]

Just to be clear login returns as as success even when the permission is declined, then subseqent calls to login dont show the facebook page requesting the permission . Help please. [import]uid: 74338 topic_id: 29885 reply_id: 119933[/import]

I’m facing the same problem: how to re-request a declined permission? [import]uid: 43714 topic_id: 29885 reply_id: 144138[/import]

Only option is to detect it in the fb response and inform the user to manually remove your app and then try again. Painful, I know. :frowning: [import]uid: 74338 topic_id: 29885 reply_id: 144168[/import]

I’m facing the same problem: how to re-request a declined permission? [import]uid: 43714 topic_id: 29885 reply_id: 144138[/import]

Only option is to detect it in the fb response and inform the user to manually remove your app and then try again. Painful, I know. :frowning: [import]uid: 74338 topic_id: 29885 reply_id: 144168[/import]

I’m facing the same problem: how to re-request a declined permission? [import]uid: 43714 topic_id: 29885 reply_id: 144138[/import]

Only option is to detect it in the fb response and inform the user to manually remove your app and then try again. Painful, I know. :frowning: [import]uid: 74338 topic_id: 29885 reply_id: 144168[/import]

I’m facing the same problem: how to re-request a declined permission? [import]uid: 43714 topic_id: 29885 reply_id: 144138[/import]

Only option is to detect it in the fb response and inform the user to manually remove your app and then try again. Painful, I know. :frowning: [import]uid: 74338 topic_id: 29885 reply_id: 144168[/import]

I have the same problem. 

I posted a question regarding this here:

http://forums.coronalabs.com/topic/52728-facebook-permissions-checking-and-rerequesting/

but no answer yet…

I don’t know if Corona is aware of the new permission changes and if they plan on doing anything about it.

I have the same problem. 

I posted a question regarding this here:

http://forums.coronalabs.com/topic/52728-facebook-permissions-checking-and-rerequesting/

but no answer yet…

I don’t know if Corona is aware of the new permission changes and if they plan on doing anything about it.