I have a web page that I would like a simple script made for. The purpose of the page is to get people to join my facebook group. Currently, If you click on the button halfway down my page, you'll see that it opens up a window that takes the visitor to facebook to join my group. If the visiter is already logged into facebook, it takes them directly to my group page and they just have to click the "ask to join group" button at the top. If they are not logged into facebook, it takes them to the facebook login page for them to login and then takes them to my group page.
I would like to keep the visitor on my page without them having to go to facebook to join my group. I want a script that will do this. When my page loads, I would like it to check if the user is already logged into facebook, and if so, when they click the join group button on my page, in the background it will automatically use their facebook info to join my group, and give them a thank you message on the page to let them know that they have joined.
I would also like it so that when the page loads, if they are not logged into facebook, maybe include a login on the page for them to login into their facebook account directly on my page, and when they submit, it will automatically join them to my group without leaving my site and let them know they have joined.
Once they have joined my facebook group (or "Asked to join my group"), then they will be able to go to the bottom of my page where there is already an aweber form and submit the form. I would also like the script to pre-fill in their facebook information into the form at the bottom of the page automatically so they won't have to do it again. All they should have to do is click "submit".
This is a small script, and i have about $25 budgeted for this project.