log twitter post result
This commit is contained in:
		| @@ -243,8 +243,11 @@ function twitter_post_hook(&$a,&$b) { | |||||||
| 					$msg .= '... ' . $shortlink; | 					$msg .= '... ' . $shortlink; | ||||||
| 				} | 				} | ||||||
|                 // and now tweet it :-) |                 // and now tweet it :-) | ||||||
| 				if(strlen($msg)) | 				if(strlen($msg)) { | ||||||
| 					$tweet->post('statuses/update', array('status' => $msg)); | 					$result = $tweet->post('statuses/update', array('status' => $msg)); | ||||||
|  | 					logger('twitter_post returns: ' . $result); | ||||||
|  | 				} | ||||||
|  |  | ||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
| 	} | 	} | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								boot.php
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								boot.php
									
									
									
									
									
								
							| @@ -4,7 +4,7 @@ set_time_limit(0); | |||||||
| ini_set('pcre.backtrack_limit', 250000); | ini_set('pcre.backtrack_limit', 250000); | ||||||
|  |  | ||||||
|  |  | ||||||
| define ( 'FRIENDIKA_VERSION',      '2.2.1036' ); | define ( 'FRIENDIKA_VERSION',      '2.2.1037' ); | ||||||
| define ( 'DFRN_PROTOCOL_VERSION',  '2.21'    ); | define ( 'DFRN_PROTOCOL_VERSION',  '2.21'    ); | ||||||
| define ( 'DB_UPDATE_VERSION',      1075      ); | define ( 'DB_UPDATE_VERSION',      1075      ); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user