]> git.mxchange.org Git - friendica-addons.git/commitdiff
Merge https://github.com/annando/friendica-addons into apull
authorfriendica <info@friendica.com>
Tue, 3 Apr 2012 23:30:28 +0000 (16:30 -0700)
committerfriendica <info@friendica.com>
Tue, 3 Apr 2012 23:30:28 +0000 (16:30 -0700)
Conflicts:
facebook/facebook.php

1  2 
facebook.tgz
facebook/facebook.php
nsfw.tgz
wppost.tgz

diff --cc facebook.tgz
index 1d1919d2fba7d910ac7a80e77690b270f93c5446,1d1919d2fba7d910ac7a80e77690b270f93c5446..5853b9168ced9f21294dc32e805e94970a3cfdb4
Binary files differ
index 5ffb0a2226edf66017b8f528aa5e697b8833a1ab,58ce025bb624fa1e6e858315f4cffe3cefb82c2b..1849cef33485b0fe6136ab1d78f3d953fadda24f
   /** TODO
   * - Implement a method for the administrator to delete all configuration data the plugin has created,
   *   e.g. the app_access_token
 - * - 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
 +define('FACEBOOK_DEFAULT_POLL_INTERVAL', 60); // given in minutes
 +define('FACEBOOK_MIN_POLL_INTERVAL', 5);
 +
  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');
diff --cc nsfw.tgz
index b7caadbd4a6f614c3e12d380785068951c2e6372,b7caadbd4a6f614c3e12d380785068951c2e6372..6897cb89077e099b1266efead83947f5f48971be
Binary files differ
diff --cc wppost.tgz
index 221943355a96060e6f4205754d05e37a9ec5c826,221943355a96060e6f4205754d05e37a9ec5c826..b07bf6e0d9ac6965afcc92cf5dfaa0204063937d
Binary files differ