This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have a page where facebook plugin need to be loaded and displayed. It is working fine. But if user try to access the same page from china, where facebook is blocked, page loading is taking too much time.
This is because my page is keep on trying to connect to facebook to download the page and connection timed exception is coming. Can any one of you help me resolving this problem.
I think the implementation can be some thing like, first check whether the user network allows facebook or not. If it allows then download the plugin otherwise dont download the plugin. But dont know how to achieve this.