request.element.isStatic = 0; items = attributes.elementInfo.elementData.propertyValues; if (arrayLen(items)) { values = items[1].values; //initialize Twitter's API application.twitter.scripts.loadTwitterJS(); //setup bit.ly credentials bitlyLogin = application.twitter.getAppConfig("twitter").bitlyLogin; bitlyKey = application.twitter.getAppConfig("twitter").bitlyKey; bitlyCredentials = bitlyLogin & ":" & bitlyKey; username = trim(values.username); //if the user typed in the @ symbol, then we need to remove it if (len(username) && (left(username,1) == "@")) username = right(username,len(username)-1); }