Titanium JIRA Archive
Alloy (ALOY)

[ALOY-704] Alloy social: adding username and userid

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusResolved
ResolutionFixed
Resolution Date2013-06-12T22:00:46.000+0000
Affected Version/sn/a
Fix Version/sAlloy 1.2.0, 2013 Sprint 12
ComponentsBuiltins, Runtime
Labelsn/a
ReporterDaniel Sefton
AssigneeUnknown
Created2013-06-08T15:06:36.000+0000
Updated2018-03-07T22:25:57.000+0000

Description

I have implemented callback parameters for getting the twitter username and userid when signing in with alloy social:
var social = require('social');

var twitter = social.create({
	consumerSecret : "CONSUMER_SECRET",
	consumerKey : "CONSUMER_KEY"
});

twitter.authorize(function(e) {
	Ti.API.info("username: " + e.username);
	Ti.API.info("userid: " + e.userid);
}
Github: https://github.com/appcelerator/alloy/pull/128

Comments

  1. Tony Lukasavage 2013-06-12

    [~dsefton] do we have a basic test case for this ticket?

JSON Source