views:

71

answers:

1

Hi,

I've been able to get my app to login and grant permissions after, but I woul dnow like to do it at the same time

The login button that is being generated is using the following code

<fb:login-button perms="publish_stream"></fb:login-button>

Any ideas why its not picking up on the perms?

Thanks, Ian

A: 

There is a fbml tag also for that, try this:

fb:prompt-permission

Example:

<fb:prompt-permission perms="email">
  Would you like to receive email from our application?
</fb:prompt-permission>
Sarfraz
I seem to be only table to use that tag once logged in, I would like to do the login and permission granting at the same time.
Ian morgan