Commit Graph

32 Commits

Author SHA1 Message Date
Brion Vibber
e48efd3222 Workaround for Facebook data store API behavior regression, fixes saving
of empty notice prefix text in facebook settings.

Filed bug upstream at http://bugs.developers.facebook.com/show_bug.cgi?id=7110

Per documentation, saving a pref value of "" or "0" will delete the pref key:
http://wiki.developers.facebook.com/index.php/Data.setUserPreference

which used to do what we want... Now Facebook throws back an error
"Parameter value is required" when we do this. Workaround appends a
space to empty string or "0" at save time, then trims the string when
we load it.

The input string was already trimmed at pref save time, so this won't
alter any user-visible behavior.

Thanks to ^demon in #mediawiki for pointing out the behavior regression
after testing the identi.ca Facebook app!
2009-10-16 14:48:56 -07:00
Evan Prodromou
a08c76a434 Merge branch '0.9.x' of git@gitorious.org:laconica/mainline into 0.9.x
Conflicts:
	classes/laconica.ini
2009-08-27 14:52:32 -07:00
Craig Andrews
eb667d09d9 allow oEmbed resources to be facebook attachments 2009-08-26 22:09:46 -04:00
Craig Andrews
b7beac36c2 Support multiple attachments per facebook update 2009-08-26 21:54:57 -04:00
Evan Prodromou
4737563b95 a distributed -> the distributed 2009-08-25 18:14:12 -04:00
Evan Prodromou
c8b8f07af1 change Laconica and Control Yourself to StatusNet in PHP files 2009-08-25 18:12:20 -04:00
Zach Copley
43eb19910f Post to Facebook user's stream if notice has an attachment, otherwise post notice as a status update 2009-08-04 20:49:18 +00:00
Zach Copley
b9cf19a2ee Better error handling when updating Facebook 2009-07-27 02:54:51 +00:00
Craig Andrews
8250006fbf When a notice is posted with an attachment, the facebook stream update has media displayed inline, or as links.
http://laconi.ca/trac/ticket/1685
2009-07-09 18:42:19 -04:00
Zach Copley
bbb25e2153 Better error handling for FacebookQueueHandler 2009-07-09 02:04:38 +00:00
Zach Copley
06bf2e2413 Get rid of the other error trying to property on a non-obj 2009-07-08 01:02:12 -07:00
Zach Copley
2ed9d2dac5 Get rid of error ('Trying to get property of non-object') 2009-07-08 00:30:18 -07:00
Evan Prodromou
aec6456c91 Update copyright dates in files modified in 2009 2009-06-20 16:12:55 -07:00
Evan Prodromou
793a6a1155 change Controlez-Vous to Control Yourself 2009-06-20 16:00:04 -07:00
Zach Copley
a0320f03f5 Better err handling when trying to get Facebook client 2009-05-15 21:44:58 +00:00
Zach Copley
02184df7c8 Fixed arguments to syslog (LOG_ERR, not LOG_ERROR) and removed unused function 2009-02-13 10:08:11 -08:00
Zach Copley
4b7ee5455f We have a FacebookQueueHandler now. The update_facebook.php cron
script is totally deprecated.
2009-02-13 05:42:00 +00:00
Zach Copley
26f9bf540e Fixed bad query causing facebook_update to fail 2009-01-26 12:22:52 -08:00
Zach Copley
44d1e723df trac750 fixed dumb sql query that was pulling ancient notices 2009-01-23 12:12:51 +00:00
Zach Copley
767c7d293d trac750 Better CSS file organization and linking fore the FB app 2009-01-23 10:51:49 +00:00
Zach Copley
8114676bd4 trac750 Let's try that again - fix for base css href 2009-01-23 07:22:01 +00:00
Zach Copley
8dad87ea95 trac750 FB script to update statuses working again with new uiredesign stuff 2009-01-23 04:23:44 +00:00
Zach Copley
adf77944e8 trac750 Facebook app proper integrated into new uiredesign 2009-01-23 03:16:03 +00:00
Zach Copley
739baf0396 trac750 Add notice input box to FB app and ability to post notices 2009-01-19 07:24:12 +00:00
Zach Copley
5f2fce04cb trac750 Updated paths for new css files; deleted old unused css file 2009-01-19 01:59:31 +00:00
Zach Copley
64bda5bd6c trac750 New CSS files for FB app to allow bettter per-install theming 2009-01-19 01:34:25 +00:00
Zach Copley
12f7ec980c trac750 Better workflow for asking user for status update permission 2009-01-19 00:50:45 +00:00
Zach Copley
8fdf888edb trac750 Javascript file for Facebook app 2009-01-18 06:12:47 +00:00
Zach Copley
3e18c2f0f8 trac750 Facebook App - generate HTML similar to uiredisign for everything 2009-01-18 01:31:39 +00:00
Zach Copley
a373e6f500 trac750 Automatically update Identi.ca profile box with user's latest dent 2009-01-11 08:33:28 +00:00
Zach Copley
689be14215 trac750 - Facebook app now uses XMLWriter for output (much cleaner!) 2009-01-11 07:03:59 +00:00
Zach Copley
fd6f9b9d76 trac750 Automatically update linked Facebook users' statuses
darcs-hash:20090105010407-7b5ce-559da13720b18e3c570e730326f5e5ef2b2dc1ab.gz
2009-01-04 20:04:07 -05:00