You haven't specified for which platform (Android or iOS) or most importantly, how will it be shared? Facebook? Twitter? Clay.IO?
Not enough information to help you.
However, I am thinking you mean Facebook. The Facebook object is not supported inside CocoonJS. So you will have to use Clay.IO object to connect into Facebook that way.
If you want to allow the Facebook object to be used without logging into Clay.IO first, you can use the new exporter Intel Crosswalk.
It only supports Android devices for now, however. (Android 4.0 or better).