내가 말했듯이 나는 사용 호또 서버에 연결하기 스테이터스넷 내 업무 네트워크에서 구현합니다.
요점은 제가 가장 좋아했던 대안 중 하나는 터피알, 명성과 인터페이스로 인해 연결하는 것을 제외하고는 추가 구성 옵션을 제공하지 않았습니다. 트위터 이미 Identi.ca. 그러나 나는 생각했다. 터피알 es 오픈 소스 그리고 그것은 작성되었습니다 Python 진실? 내가 원하는 곳에 연결되도록 수정하지 않는 이유는 무엇입니까?
나는 찾기 시작했고 내가 필요한 파일을 찾았다. Identi.ca en /usr/share/pyshared/turpial/api/protocols/identica/identica.py. 그 파일에서 저에게 관심이있는 유일한 줄은 다음과 같습니다.
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')
물론 수정하여 다음과 같이 둡니다.
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')
준비된. 나는 파일을 저장하고 (나는 항상 전에 저장했다) 터피알. 액세스 권한을 선택했습니다. Identi.ca, 나는 내 데이터를 넣고 짜잔!