taibeihacker
Moderator
附近的电报使用OpenStreetMap和官方电报库来查找近乎用户的位置。
Please note:Telegram的API已在一段时间前进行了更新,以使近乎近的用户距离降低精度,从而阻止了确切的位置计算。因此,电报附近的地图显示附近的用户,但没有显示其确切位置。
受艾哈迈德(Ahmed)的博客文章和黑客新闻讨论的启发。由github.com/tejado开发。
How does it work?
每25秒每25秒通过Telegram的TDLIB收到所有近乎所有用户。这包括每个接近用户到“我的”位置的距离。从三个不同的点距离三个距离,可以计算近距离用户的位置。这只会找到激活近乎功能的电报用户。根据默认值,它已停用。
Installation
要求: node.js和一个电报帐户Create an API key for your Telegram account here Download the repository Create config.js (see config.example.js) and put your Telegram API credentials in it Install all dependencies: npm install Start the app: npm start Look carefully at the output: you will need to confirm your Telegram login Go to http://localhost:3000 and have fun