A freedompop telegram bot
Source code for the Telegram bot @FreedomPopBot. With it you can send and receive text messages from your FreedomPop Account. This bot uses sqlite to store user data, everything is encrypted so your data is always safe.
A big thanks to dodysw who wrote this unnoficial API and wodim who extended the unnoficial API.
This is a fan-made Telegram Bot which is not supported by or associated with FreedomPop.
Open Python Console and run:
pip install -r requirements.txt
And then:
from cryptography.fernet import Fernet
Fernet.generate_key()
It will print out a cryptography key like:
XOQ9caZwiFsHQNCtnGYi-b6tkcEdT2jTaabWiL4Rjy0=
Rename the file config.ini.example
to config.ini
and fill all the information, then run:
nohup python app.py >/dev/null 2>&1 &
token: Your Telegram Bot API Key
crypto_key: The key generated by cryptography.fernet
api_client: FreedomPop API Client
api_secret: FreedomPop API Secret
api_push_token: FreedomPop API Push Token
api_app: FreedomPop App Version
api_device_id: FreedomPop Device ID
api_device_sid: FreedomPop Device SID
api_radio_type: FreedomPop Radio Type
Q: Where do I get api_client / api_secret / api_push_token / api_app / api_device_id / api_device_sid / api_radio_type
A: I got api_client and api_secret here: FreedomPop Python API, for the api_app you can use "fm.", the rest you can use what's on the config.ini.example file.
Q: Where do I run this bot?
A: I recommend using http://i-83.net
Q: Can you implement <???> function?
A: I can try. Open a issue and I'll see what I can do.
Q: Your bot is awesome. How can I help?
A: Thank you! You can help by codding more features, creating pull requests, or donating using Bitcoin: 1BdL9w4SscX21b2qeiP1ApAFNAYhPj5GgG
Free. Don't forget to star :D
Free Software, Hell Yeah!