Basically I need a proper working facebook connect script written. It needs to work exactly how ([url removed, login to view], [url removed, login to view]) works, including and only including these steps from those websites.
FB Login button, prompts login, on call back ask for facebook premissions, Case 1: if first time login to site, prompt to register page for a few values user must add, Case 2: if returning user just send them to home page. If permissions for the site have already been granted, dont show allow permissions box again.
Site must be in php and communicate with mysql db to track logins, points, etc.
Site must contain a welceom <fb:name> <fb:profile-pic> eddit account, logout on top right hand side of page.