friendika-z initial implementation

This commit is contained in:
Friendika 2011-06-23 01:57:14 -07:00
commit 96857389ac
6 changed files with 25 additions and 6 deletions

View file

@ -195,6 +195,11 @@ function twitter_post_hook(&$a,&$b) {
if((local_user()) && (local_user() == $b['uid']) && (! $b['private']) && (! $b['parent']) ) {
// Twitter is not considered a private network
if($b['prvnets'])
return;
load_pconfig(local_user(), 'twitter');
$ckey = get_config('twitter', 'consumerkey' );