A custom Telegram client that displays Deezer's last listened track on profile photo.
This project uses TDLight Java as implementation of Telegram Client API.
Also, Deezer API Java Library is used to communicate with Deezer.
Java 17
(JRE)
- Download
telegram-dynamic-profile-photo-${version}-jar-with-dependencies.jar
from the last Release. - Create
app.properties
file in the same folder astelegram-dynamic-profile-photo-${version}-jar-with-dependencies.jar
.touch app.properties
- Open
app.properties
and add the following content:#To get telegram.api_hash see https://core.telegram.org/api/obtaining_api_id telegram.api_hash=your_api_hash #To get telegram.api_id see https://core.telegram.org/api/obtaining_api_id telegram.api_id=XXXXXXX #To get deezer.app_id see https://developers.deezer.com/myapps deezer.app_id=XXXXXX #deezer.redirect_uri must be the same as 'Application domain' in https://developers.deezer.com/myapps deezer.redirect_uri=https://google.com #To get deezer.secret see https://developers.deezer.com/myapps deezer.secret=deezer_app_secret_key
- Login into Deezer.
java -jar telegram-dynamic-profile-photo-${version}-jar-with-dependencies.jar deezer.login
- Login into Telegram client.
java -jar telegram-dynamic-profile-photo-${version}-jar-with-dependencies.jar telegram.login
- Update profile photo.
java -jar telegram-dynamic-profile-photo-${version}-jar-with-dependencies.jar telegram.update_photo
- Logout from Telegram.
(Optional)
java -jar telegram-dynamic-profile-photo-${version}-jar-with-dependencies.jar telegram.logout