In my web page, I have an HTML canvas. I want to upload the canvas image to facebook. I think the first step may be a canvasContext.toDataURL() function call. What's next? If the user is logged in to facebook, I want him/her to be able to upload the image automatically with his facebook account from my page. I want the user will be able to either post the image in his/her wall or one of his/her friends. What should be the code? And where should I add the code? A detail answer (in javascript or jQuery) will be highly appreciated. Thank you.
Asked
Active
Viewed 1,116 times
7
-
I know it's really hard to acces facebook externally, one of the reasons is because they change their acces scripts often. I don't have a clear answer to your question, but maybe you can find it at the developers website of facebook: [Facebook Developers](http://developers.facebook.com/). This site contains all the code and a lot of examples you can use to acces facebook (such as the like buttons you find all over the internet). I hope you can find your answer there. greets! – Hans Vn Jan 10 '12 at 16:51
1 Answers
1
check this
First you'll need to use the Authentication plugin to give your website access to their Facebook.
Then use the Graph API - Post to post to their wall...

swiftBoy
- 35,607
- 26
- 136
- 135