Monday 15 June 2015

How to post to facabook wall or send message with image attachement using facebook javascript api -


I would like to post on the facesbok wall or send message with image attachment using the Facebook Javascript API. Following is the code of my 'Send' case using I code, I can send a message to Facebook, but the image is not attached (image is not considered as an attachment and small is displayed).

  FB.ui ({method: 'send', to: id, name: 'hog', link: 'http://xx.info/tmp/index.html', details : 'Hog', Image: 'http://xx.info/tmp/testJpg'});   

Does anyone know how to do this?

This is the way to send the message to work I do not believe there is such a dialogue Which allows you to make an explicit attachment to the API calls.

No comments:

Post a Comment