I'm trying to get the twitterstatusfetcher Twitter gateway to work
consistently. After playing around a bit and having some discussion on
IRC on some of the concepts I still have a list of things which are
unclear to me. It is my understanding that the (twitter-) gateway
concept needs rearchitecting, and that the current
twitterstatusfetcher.php should not be used in production but I'd
still like to get a consistent mental picture on what should be there.
The first thing which is not clear to me, is the concept of local vs
remote notices. The 'is_local' column in the notices table, by the
looks of it, can have the values:
0 - remote (omb)
1 - public local
-1 - blacklisted (and private?)
-2 - gateway notice
How are these values supposed to interact with the 'localonly' config
parameter? It's clear how to deal with remote notices over omb (value
0) and the public local notices (value 1), but not the gateway notices
(value -2). Is the gateway value just there to cope with twitter
specifically?
If the gateway notices are considered 'similar' to omb, just using
another protocol, as classes/Notice.php seems to suggest:
Current code:
if (common_config('public', 'localonly')) {
$notice->whereAdd('is_local = 1');
} else {
# -1 == blacklisted
$notice->whereAdd('is_local != -1);
}
thus, gateway notices (meaning twitter notices only, so far?) will
show on the public timeline now if the 'localonly' parameter is false.
Quoting from IRC:
evanpro 15:58
The only places Twitter statuses should show up is in the notice inbox
of subscribed users
Not in search, tags, popular, anything like that
And definitely not on the public page
Those statements seem to suggest that the twitter notices are not
(meant to be) similar to omb federated notices?
There are a couple of other things related to the twitter notices (see
also http://laconi.ca/trac/ticket/1812 ), but the above sounds like
there is an inconsistency in interpretation?
thoughts?
marcel
--
Marcel van der Boom -- http://hsdev.com/mvdb.vcf
HS-Development BV -- http://www.hsdev.com
So! web applications -- http://make-it-so.info
Cobra build -- http://cobra.mrblog.nl
_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev