In the Page Tab/Canvas configuration area of JFBConnect, you can set a "Reveal Page Id". That is the ID of a Joomla article that you want loaded into your Page Tab area whenever a user is viewing your page that hasn't yet Like'd it. So, to setup the Like-gate, you just need to create the article telling the user why to Like your page (your quiz) and then add that ID to the configuration area.1, How can I show in my iframe a jpg or an html page with an introduction that will redirect to the quiz after the like button on fb.
That would be up to your quiz software. JFBConnect doesn't have a method to create quizzes or validate who has (or hasn't) taken one.2. How can I be sure that a fb user will not run the quiz for a second time
->where($this->_db->qn('fb_request_id') . "=" . implode("' OR fb_request_id = '", $this->_fbRequestIds));
->where($this->_db->qn('fb_request_id') . "='" . implode("' OR fb_request_id = '", $this->_fbRequestIds) . "'");
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.