Ok, so back to the basics:
2. Did you include jQuery?
3. You used encodeURIComponent on one parameter, which is correct but you should use it on every parameter (also title and author)
4. Where did you define the variable canvas?