Hi Eric,
I made the suggested change to config, the exact config
being $config['integration']['TorrentTwitter'] = 'www.torrenttwitter.com';

Then I linked an account at twitter and then posted a notice, the notice
appears on Twitter but source being Laconica with hyperlink to
http://laconi.ca/trac/.

So notices are being synced but with an incorrect source and URL.

Is there a way of solving this problem?

Thanks.


On Thu, Jun 4, 2009 at 12:27 PM, Eric <[email protected]> wrote:

> For the hyperlink it is $config['integration']['taguri'] = "
> http://mystie.com";
>
> Also i noticed looking through the intergration that the
> twitterstatusfetcher.php it relies on the integration source to skip
> importing status's that were pushed from laconica in the first place:
>
> begin.........
>        foreach (array_reverse($timeline) as $status) {
>
>             // Hacktastic: filter out stuff coming from this Laconica
>             $source = mb_strtolower(common_config('integration',
> 'source'));
>
>             if (preg_match("/$source/", mb_strtolower($status->source))) {
> .......end
>
> which might be a problem with twitters change.
> -Eric Helgeson
>
>
> On Wed, Jun 3, 2009 at 12:14 PM, Mark <[email protected]> wrote:
>
>> On Wed, Jun 3, 2009 at 11:54 AM, Zach Copley <[email protected]>
>> wrote:
>> > Jason Jaffa wrote:
>> >>
>> >> I have just noticed that if a user adds their Twitter account to
>> >> automatically send their notices to Twitter, and when notices are
>> posted to
>> >> Twitter, at the bottom of the notice where the date and time stamp and
>> from
>> >> site information appears, currently Laconica is being displayed
>> hyperlinked
>> >> to http://laconi.ca/trac/.
>> >>
>> >> Shouldn't this be the actuals site's name and domain name of the
>> service
>> >> from where the notice was posted from?
>> >>
>> >> I am assuming that this function is in one of the scripts, does anyone
>> >> know which one and where to change this?
>> >
>> > Yes, there's a setting in config.php that let's you change that:
>> >
>> >    // Twitter integration source attribute. Note: default is Laconica
>> >    $config['integration']['source'] = 'Laconica';
>> >
>> > However, Twitter has to add whatever you send to its list of approved
>> > sources.
>> >
>> > Zach
>> >
>> afaik you can set the source to what you want, you just won't get a
>> hyperlink.
>>
>> --
>> Mark
>> "Blessed is he who finds happiness in his own foolishness, for he will
>> always be happy."
>> _______________________________________________
>> Laconica-dev mailing list
>> [email protected]
>> http://mail.laconi.ca/mailman/listinfo/laconica-dev
>>
>
>


-- 
Jason Jaffa
_______________________________________________
Laconica-dev mailing list
[email protected]
http://mail.laconi.ca/mailman/listinfo/laconica-dev

Reply via email to