How to use imp to catch the information on website

excuse me I want to use imp to catch the website’s information ,for example I want to catch the Facebook’s page has how much likes ,if it has 2699 likes ,how can I catch this number and use it in imp develop , if you can give me a sample code like how to catch the information that’s the best,if you can’t please give me some references I can use thank you very much

If any website that has an API or any kind of RSS/XML feed, you can get that information via the agent and then to the imp.

Likewise, any website you have can also access anyone’s API.

Learn how to use Facebook’s API.

can you please give me an example code ?
i have no idea how to do.