Hi i need help i want to build a Hotspot and the problem is , that i want to do that when someone want to connect in that Wireless with Hotspot dhe login page to need to like a fan page in facebook , and when the visitors click the Like Button of the Fan Page , just now them can to connect in internet with hotspot
can help somebody
Hi, I’m sorry that i don’t have solution for your problem but i also need the same solution. Maybe we can work it out together. Did you have any progress regarding this?
If you want people to have the ability to “like” your facebook page before they log in to the hotspot, and because someone needs to log in to facebook before they can “like” anything, you’ll have to add all facebook-related domains to the hotspot Walled Garden.
Use a program like Wireshark to do some packet sniffing to figure out which domains will be required. Doing a quick packet capture, I turned up at least these: facebook.com, fbcdn.net, akamaihd.net, edgesuite.net, akamai.net, edgekey.net, akamaiedge.net. I wonder if it might be possible to manipulate these in such a way as to restrict certain facebook pages (main facebook user page for instance, so people can’t just use facebook for free via the hotspot). For a quick test, I added these to the Walled Garden and was able to test facebook successfully. This is a quick and dirty way to add the domains for testing, but would not be recommended for final deployment…
I would edit the hotspot login page to open the facebook “like” page in a popup window, so that when they have finished liking the page, they can simply close it and the hotspot login page remains open.
i think, if portal is external, we can use php&js, and authenticate user if facebook, handle click event, and call hs url for authorize, with test preassigned acccount in microtik or radius.