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.
-
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. 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– Hans Vn2012-01-10 16:51:10 +00:00Commented Jan 10, 2012 at 16:51
Add a comment
|
1 Answer
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...