-1

Possible Duplicate:
Facebook Apps: Additional permissions

Facebook post to wall :

I can post to wall by sending post request like this or using some language specific code.

 curl -F "access_token=tokenstring" -F "message=some message here" "http://graph.facebook.com/username/feed"

The above works only if the user has already given permission for PUBLISH_STREAM. But what if the app didnt have the permission from the user already ? How can I ask the user for the permission ?

Even while asking the access_token from this url

 https://graph.facebook.com/oauth/access_token?type=client_cred&client_id=" SECRET " &client_secret=" SECRET "&scope=publish_stream

it is giving me access token without asking permission from the user, and while using this access token, it is giving error that the user didnt give access to the app, is there a way that i can redirect the user asking the permission. or some box asking for permission ?

Community
  • 1
  • 1
user1653509
  • 153
  • 1
  • 3
  • 10

1 Answers1

0

Yes according to Facebook user permission you should first generate token. and user will give you permission then you can post his/her wall...

Naresh Kumar
  • 17
  • 1
  • 7