Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
twitter2name.php 556 B
<?php
$attributemap = [

    // Generated Twitter Attributes
    'twitter_screen_n_realm' => 'eduPersonPrincipalName', // screen_name@twitter.com
    'twitter_targetedID'     => 'eduPersonTargetedID', // http://twitter.com!id_str

    // Attributes Returned by Twitter
    'twitter.screen_name'    => 'uid', // equivalent to twitter username without leading @
    'twitter.name'           => 'displayName',
    'twitter.url'            => 'labeledURI',
    'twitter.lang'           => 'preferredLanguage',
    'twitter.description'    => 'description',
];