Click here to Skip to main content
15,918,596 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi ,

I have a task where i should able to post a message to the facebook users wall...

I am using Graph API. My problem is that i can able to post a message when i give my credentials but if some other user try to post a message "It throws 403 Forbidden error"

Steps i followed,

1.I have created an application using my credentials , so i got AppId, AppSecret.

2.I am able to get access token

3. using apis.PostFeed(strMessage) this method i am posting to wall

4.But if i used my credentials i can post a message else if some one else uses their credentials it says above mentioned error...


Plz help me in this what would be the reason and how to resolve it.


Thanks in advance.
Posted

1 solution

Is there an option on Facebook to make your app public?

I can't remember if Facebook has that option or not -- I thought it did.

I know that several other sites that you can create apps for have a similar option.

Normally when you first create an app they default to only being available to you.

As I recall Facebook has the notion of testers that you can define for that app -- presumably to make the app available to a larger but limited number of people.

Kind of make sense that while you are developing an app you want it to be available only to yourself or a limited number of testers. Then when you are ready to release it to the public in general, you change the setting and anyone can use it.

Flickr does this, and I though Facebook did it as well. I can't find the option on Facebook at the moment -- but then I can never find any options on Facebook. Check your various settings on your app and see if there isn't something like this.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900