function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Post to Facebook (Oauth)

I have a VF page showing a custom object record.  I'd like to add a button to post the details to Facebook (or twitter), but unsure where to start.  Can someone point me to a tutorial or posting that would get me there?

Have you had a look at the standard component social:profileViewer provided by SF? Just see if this reduces your effort or the way to go is OAuth to login to FB and get contact details.

Thanks for the reply - I don't think this really applies, as that is trying to pull specific Contact's social profile data, correct?  In this scenario, I have a custom object (e.g. special event), and want to post the details to my Facebook Wall.


I would think the starting point would be understanding how to integrate a web app with Facebook. There's really nothing special about Visualforce in this regars. Perhaps this link would be a good starting point.