WordPress Twitter/fb Plugin

The Primary function of this WordPress Plugin is to to Create a User and a Blog using Twitter OAuth and FB Connect. This is a custom plugin for WordPress 3.0 Multi-User installation.

Here’s a similar plugin that you can look at for your reference only. Please respect the author do not copy the code.

Twit Connect: http://www.voiceoftech.com/swhitley/?page_id=706

I need to have 100% FULL RIGHTS to the code you deliver without any open source code!! The link is included only as a reference of the basic Twitter OAuth functionality, but it doesn’t come with the FB Connect.

Go here for a live demo of Twit Connect: http://plugintester.igetpaidforwhoiam.com/wp-login.php

The plugin should do perform these functions:
1. Oauth authenticate with Twitter, then create a blog with the same username as the Twitter username and using the Twitter Profile info to populate the meta data.

2. The “Sign with Twitter” icon should appear in both the main blog and in the member blogs.
See these two links on a WP3.0 installation:
(note: this is an MU enabled site, installed on a real subdomain, and using the directory option in MU)
http://plugintester.igetpaidforwhoiam.com/wp-login.php (this one has the Twitter icon)
http://plugintester.igetpaidforwhoiam.com/beta/wp-login.php (this one does not have Twitter icon)

3. Track the referring blog that led to the sign up. In the case above, it’s the user “beta”. Keep this information in the database to make exporting easier.

4. After Oauth authentication with Twitter, Allow new member Include custom fields to complete their signup.

5. The new member autopost to Twitter a custom message set by admin.

6. The referring member autoposts to Twitter with a custom message set by admin.

7. The admin account posts to Twitter a custom message set by the admin. (Admin Oath authenticates with Twitter previously during setup.)

8. The new member and the referring member autofollow each other.

9. The new member and the admin autofollow each other.

10. Make the new member a “Subscriber” to the referring blog

11. Use the Twitter Avatar as the new member’s default Avatar

12. Run an optional “initialization script” specified by admin (a separate add-on plugin that builds on this plugin.) This initialization script is a PHP script that’s developed separately from this plugin.

13. Signup the member in the Affiliate Program if the checkbox option is selected. You will be supplied with the Affiliate Plugin, you just automatically hook into it.

14. Redirect to a custom page after finalizing the signup.

15. Make this plugin so that if the new member elects not to use Twitter or FB to create an account, then all of the above still gets done minus the Twitter and FB stuff.

16. Make the plugin modular, so that any 3rd party authentication can be plugged in, such as Open ID, Google, or another proprietary system.

The way #3 is tracked is as follows:
1. When a new visitor first lands on the website, the “original referrer” is stored in a cookie. Example above: original referrer = “beta”
2. If the visitor visits other blogs on the site, the original referrer does not change.
3. If the visitor visits the main site first without a referring blogger, the first blog the visitor visits becomes the referring blog.

We will have ongoing requirements for additional plugins. So this can be an ongoing source of new gigs for you if you deliver as promised.

Leave a Reply

Your email address will not be published. Required fields are marked *