Ali
Ali

Reputation: 267207

How to request publish_stream permission using javascript SDK?

When I call FB.login() with 'publish_stream' as the requested permission, i.e

FB.login( handleLogin, {scope: 'publish_stream'}  );

In the dialog that opens, it only says I'm requesting their basic information, and says nothing about the stream_publish permission.

Is this how its expected to work, and when the user clicks accept, he would give this permission, or do I need to then open a second dialog to request this permission somehow? Any ideas?

Upvotes: 2

Views: 2013

Answers (1)

Igy
Igy

Reputation: 43816

Extended permissions, including publish_stream are displayed on a second page of the dialog - if the user hasn't used your app they must accept the basic permissions you're requesting (including the privacy options for items posted by your app), and then a second page appears asking for the extended permissions

Upvotes: 2

Related Questions