From: Michael Vogel Date: Sun, 1 Apr 2012 12:08:36 +0000 (+0200) Subject: Merge commit 'upstream/master' X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ced503973ade95bc6681c03503b8ac4fed9e87c3;p=friendica-addons.git Merge commit 'upstream/master' Conflicts: facebook/facebook.php --- ced503973ade95bc6681c03503b8ac4fed9e87c3 diff --cc facebook/facebook.php index bc492f68,9f873284..1afa996d --- a/facebook/facebook.php +++ b/facebook/facebook.php @@@ -53,12 -53,10 +53,12 @@@ * - Implement a configuration option to set the polling interval system-wide */ -define('FACEBOOK_MAXPOSTLEN', 420); +// Size of maximum post length increased +// see http://www.facebook.com/schrep/posts/203969696349811 +// define('FACEBOOK_MAXPOSTLEN', 420); +define('FACEBOOK_MAXPOSTLEN', 63206); - + define('FACEBOOK_SESSION_ERR_NOTIFICATION_INTERVAL', 259200); // 3 days - function facebook_install() { register_hook('post_local', 'addon/facebook/facebook.php', 'facebook_post_local'); register_hook('notifier_normal', 'addon/facebook/facebook.php', 'facebook_post_hook');