-
☆ A M B ☆
- 1,231 Posts
Hello,
I am rewriting a facebook plugin that I created in Evo for Revo and wondered how the best way to go about it. Basically I have a plugin that creates a new button on the document form and when clicked it takes the current document longtitle, introtext, alias and a imageTV and posts it on a Facebook Wall. It works just fine in Evo, tried and tested. The plugin creates the send button and has Mootools Javascript to send the details via AJAX/JSON to document that holds a snippet to validate the info and strip out HTML etc, then sends it to Facebook (the snippet holds the code to send it to FB). Works fine in Evo like I said, I have also ported it over to Revo but I would like to contain everything within the plugin rather than making a page to validate/send the details using a snippet.
I would either like to create the plugin and it does all or create a plugin and a snippet but run the snippet in the plugin without the need to create a document to hold the snippet. Does this make sense?
Thanks.