Statusnet configuration file config. php (Installation Reference)
Install and configure statusnet.
The following is a fl of config. php, and O (fill _ blank) O ~
// Use URL rewrite $ config ['SITE'] ['fancy '] = true; // friendly to mobile phones $ config ['SITE'] ['mobile'] = true; // settings $ config ['location'] ['share'] = false; // set whether the "geographic sharing" option box (checkbox) is displayed; $ config ['location'] ['geographic default'] = false; // sets the default option for user geographic sharing, if this parameter is set to false, all newly registered users will disable the geographic location $ config ['attachances'] ['uploads'] = false; // disable unset ($ config ['ins ins'] ['default'] ['mapstraction']); // close the Geographic Information Sharing unset ($ config ['ins ins'] ['default'] ['ostatus']); // disable ostatusunset ($ config ['ins ins'] ['default'] ['openid']); // disable openidunset ($ config ['ins ins'] ['default'] ['wikihashtags ']); // disable wikihashtagsunset ($ config ['ins ins'] ['default'] ['geonames ']); // disable GeoNames // Twitter settings $ config ['admin'] ['panels'] [] = 'twitter '; // Add the Twitter option to the Administrator menu $ config ['twitter '] ['signin'] = false; // Twitter integration source attribute. note: default is statusnet $ config ['integration'] ['source'] = 'statusnet'; // enable bidirectional Twitter bridge // note: if you enable this you must also set $ config ['Avatar '] ['path'] // $ config ['twitterimport'] ['enabled'] = true; // Twitter oauth settings. documentation is at least = ''; $ config ['twitter '] ['consumer _ secret'] =''; // open the Twitter connection plug-in addplugin ('twitterbridge '); // open the mobileprofile plug-in to facilitate the mobile browsing of addplugin ('leleprofile ');
"$ Config ['integration'] ['source']" indicates the API name when you register a Twitter API. If you have any Chinese characters, remember to save config. php as the "UTF without Bom" encoding format.