7

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.

1
  • 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! Commented Jan 10, 2012 at 16:51

1 Answer 1

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...

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.