-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add title and artist #3
Comments
I also thought about trying to find out, what the twitter username of the artist is, if one exists. Although that could be more difficult. |
I guess you could call the respecting APIs, e.g. YouTube or Soundcloud to load more information of the Media and then include the title. |
Didn't think about that. Maybe the APIs can also reveal more about the Artist, if the source is an official one, |
I think with multiple API calls to Soundcloud you can get the Twitter handle if it is set. But this needs testing. |
Soundcloud is easily possible, here is a pen: |
Should be relatively simple to get the title of the youtube/soundcloud entry, leave it open for other things or take like the OGP title tag. Put that in the tweet as well.
Another option would be to look for the message that is posted together with the link, and post it too if it's smaller than 140 chars in total.
ping @dervondenbergen
The text was updated successfully, but these errors were encountered: