Monday, November 08, 2010 at 12:01 AM.

system.verbs.apps.OAuth.initApp

on initApp (appname) {
	<<Changes
		<<2/12/09; 2:01:43 PM by DW
			<<Created. 
	local (adrdata = OAuth.init (), adrapp = @adrdata^.apps.[appname]);
	if not defined (adrapp^) {
		new (tabletype, adrapp)};
	if not defined (adrapp^.consumerKey) {
		adrapp^.consumerKey = ""};
	if not defined (adrapp^.consumerSecret) {
		adrapp^.consumerSecret = ""};
	if not defined (adrapp^.requestTokenUrl) {
		adrapp^.requestTokenUrl = ""};
	if not defined (adrapp^.accessTokenUrl) {
		adrapp^.accessTokenUrl = ""};
	if not defined (adrapp^.authorizeUrl) {
		adrapp^.authorizeUrl = ""};
	return (adrapp)};
bundle { //test code
	initApp ("twitter")}



This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.