📜 ⬆️ ⬇️

Twitter in the picture

twi-status The other day it occurred to me to insert a picture on the forum in which my last message on Twitter would be “broadcast”. After a brief search, I came across this service (thanks to Vass ), I liked it. But since I am a big fan of writing bikes, I didn’t calm down :)

The service is located at twi-status.vladx.net and accepts user , text_color , header_text_color and background_color as parameters. None of these parameters is mandatory; by default, @habr_online is translated like this:



And here is such a request
  http://twi-status.vladx.net/?user=kevinthau&text_color=ffffff&header_text_color=ffffff&background_color=00b5e7 

we will receive:

')
Instead of user, you can use the URL
  http://twi-status.vladx.net/kevinthau 

In any of the parameters relating to color, you can pass on inherit , and then the corresponding color will be taken from the profile on Twitter.

And here you can take the source of the service, if suddenly someone wants to open a similar service in their own.

Ready to accept your advice and suggestions.

UPD: Added size parameter and three size options - d , t and u . d - deflotny size, t - 150 * 160, u - userbar.

Source: https://habr.com/ru/post/65908/


All Articles