+ Start a Discussion

Post images to Facebook from Salesforce using Graph API



   I have a requirement to upload images from Salesforce to Facebook using graph API. The user add the image and test message in Salesforce,  then using Facebook Graph API I have to  update them to Facebook. I am success full in posting text messages.


        I have tried different options to update images from Salesforce, but no hope.  Can anyone help me to

 post the images.






Can you post text messages to facebook? Im trying to post messages from salesforce to facebook and twitter, could u share your code for do that with facebook? any help will be appreciated.



You have to create and send  HttpRequest  to  Facebook API with options as specified by the Facebook Graph API for posting messages. I think the same way you can post to Twitter also.


 Unfortunately I lost that apex codes, since it is removed from my project.