[coldbox:19460] [contentbox] Facebook integration

Lol, made me laugh.

Bard,

There is one problem with posting via ContentBox, how to determine if the post was first published or not. I asked a long time ago and not really got an answer how to check for that.

The interceptor has that in the incoming variables now.

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

Cool, I must have missed when you stuck that in.

signature0.jpg

Luis, what version was that introduced, or will it be in the next version? :slight_smile:

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Wel, the interceptor tells you if its a new post or not

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

Yes, I understand. The question was what version of Content introduced (or will introduce) that enhancement.

You said, “The interceptor has that in the incoming variables now” which seemed to indicate it was a recent addition. Perhaps so recent you had just wrote the code prior to sending that message :slight_smile:

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com

Ohh, I have no clue. A long time ago though

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano

Yes, but only when it is being saved.

Luis, the problem is this and at the moment I have given up on this idea until the problem is fixed.

  1. An Editor creates content and saves it.
  2. revisits this a few days later and finalizes the content and saves it.
  3. It is then published.
  4. Editor spots a mistake
  5. Corrects and re-publishes the content

What I have needed to do in the past, was that when new content is then posted I wanted to post either to Facebook, Google+ or Twitter or all of them. The problem was trying to decide if the post has ever actually been published, so that a second tweet or post to Google or Facebook would not occur.

Are you saying that this has been fixed? If so where is the documentation on how we can use it with the described usage, I have been waiting for this ever since I asked you about it some months ago.

signature0.jpg