Kamar yadda na fada muku, haka nake ta amfani Hoto haɗi zuwa saba MatsayiNet cewa muna aiwatarwa a cikin hanyar sadarwata.
Ma'anar ita ce, ɗayan hanyoyin da na fi so shi ne Turfial, saboda darajarta da keɓancewa, amma bai ba ni ƙarin zaɓuɓɓukan sanyi ba, sai dai don haɗawa zuwa Twitter riga Identi.ca. Amma sai na yi tunani: Turfial es BugunBayan kuma an rubuta a ciki Python gaskiya? Me zai hana in gyara shi domin ya hade inda nake so?
Na fara dubawa kuma na sami fayil ɗin da nake buƙata, wanda ya ƙunshi abubuwan da ake so don Identi.ca en /usr/share/pyshared/turpial/api/protocols/identica/identica.py. Daga wannan fayil ɗin layukan da kawai suka ba ni sha'awa sune waɗannan:
class Identica(Protocol):
def init(self):
Protocol.init(self, 'Identi.ca', 'http://identi.ca/api',
'http://identi.ca/api', 'http://identi.ca/tag/',
'http://identi.ca/group', 'http://identi.ca')
Wanne ba shakka na gyara, na bar shi kamar haka:
class Identica(Protocol):
def init(self):
Protocol.init(self, 'Identi.ca', 'http://servidor_local/index.php/api',
'http://servidor_local/index.php/api', 'http://servidor_local/index.php/tag/',
'http://servidor_local/index.php/group', 'http://servidor_local/index.php')
Shirya Na aje file din (A koyaushe nakan yi ajiya kafin) kuma na zartar Turfial. Na zabi samun dama ta Identi.ca, Na sanya data na da voila !!!
Yi hankali saboda irin wannan a wurin aiki idan suka ga an saka "er tweet" zaka iya zuwa inda muka sani ...
Hahaha ba komai. Mun kafa wannan tsarin a cikin hanyar sadarwa ta ISP .. 😛
Abin tausayi cewa shine GTK ... idan Qt ne zan so shi sosai 😉
Har yanzu ina cikin farin ciki da Choqok hehe ...
Daidai yake da na TavK7. Kodayake Hotot ba shi da kyau ko dai ...