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
sommerscmsommerscm 

Trigger (or outbound message) to create Twitter Status Update

Hello All,

I'm seeking a simple trigger or Apex snippet that can send a twitter status update to Twitter. This would work when creating or updating a custom object record.

I've tried downloading the twitter packages but the code is managed so I can't view or copy it.

This is for a simple app prototype, so the simpler the better.

Thanks in advance!
Chris

sfdcfoxsfdcfox

See dev.twitter.com for their API. Twitter is not a trivial application, because it requires OAuth authentication, which is a two-factor process. (i.e. you must at first capture a valid login token by having the user confirm that your app can use the service). Also, try this article here: http://blog.jeffdouglas.com/2010/07/28/using-the-salesforce-oauth-playground/. Makes mention of some source you can download.

sommerscmsommerscm

Thanks so much, sfdcfox.

Should have known it wouldn't be so simple! But I'm going to explore your links now and see what I can do.

Thanks again!

Chris

RS_SforceRS_Sforce

Did it work for you?