In this tutorial i will show you how we can make facebook like plugins , so that others can use our service by just embeding a piece of code on there website.
We have File.js file & a method for any logic you want to put. In this example we have results method that will be called via javascript using ajax request.
We have File.js file & a method for any logic you want to put. In this example we have results method that will be called via javascript using ajax request.
| Javascript file that is hosted on server & called by client request |
| Website that is using your service by embeding piece of code |
| Method for any kind of logic you want to add for service request |