Not planned Abstract The External Sites Options

Brandon_R

Guest
Instead of concretely implementing things like facebook login, fb like etc why not abstract the system allowing admins to add tweet me, digg this etc and twitter connect, open id etc.
 
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
It's not really possible to write it generically. To do something like FB login, you have to write code to call their APIs and handle the data they give back. It may be using OAuth2, but when calling the social graph, that's a Facebook-specific format.

There is a system in the code that might help, but for the most part you have to just deal with the API you want at the time.
 
It's not really possible to write it generically. To do something like FB login, you have to write code to call their APIs and handle the data they give back. It may be using OAuth2, but when calling the social graph, that's a Facebook-specific format.

There is a system in the code that might help, but for the most part you have to just deal with the API you want at the time.

Will there be OpenID support?
 
If im not mistaken, couldn't you write individual classes [all extending the parent class] for each external site with the same function $externalSite->authenticate(); And drop it in the package Kinda like how a database is abstracted like mysql, mssql etc with the same function $db->execute(); to run a sql command?
 
I would definitely love to see support/a plugin for OpenID. I've been looking at implementing it, and have found a few handy links (which I'm sure you guys have looked at already):
http://wiki.openid.net/Libraries#php
http://wordpress.org/extend/plugins/openid/ (Wordpress plugin)

Facebook/Twitter would be nice to add, as well. I've heard, however, that Facebook is known to change their API around somewhat frequently. So that may pose the hurdle of them all.

However, OpenID support--official or plugin--would be a dream!
 
Top Bottom