-
-
Notifications
You must be signed in to change notification settings - Fork 313
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
Twitter Tweet Title, Description and Media stopped working. #364
Comments
I think twitter always work as is, but we can create an adapter for Twitter. Do you want to work on a pull request? If so, take the Facebook adapter as a reference, that has a custom title detector: https://github.com/oscarotero/Embed/tree/master/src/Adapters/Facebook |
Any updates on this? |
No updates yet. Twitter API is good too, but I'm not familiarized with it and not sure if it requires a token. |
Too bad that blockquote doesn't even contain an image link... |
Yes, sure!. |
fixed in 4.4.0 |
Problem:
Due to Changes on Twitter, currently the Title, Description and Image is not available any more.
Solution for Description:
We could use parts of the Embed Code/Output.
Demo:
https://oscarotero.com/embed/demo/index.php?url=https%3A%2F%2Ftwitter.com%2Fdrupalassoc%2Fstatus%2F1217450156523692038
We could use the content between the
<blockquote>
tag and remove all html tags.then we would get (at least for this sample):
"Drupal 1.0.0, was released today in 2001! Happy birthday Drupal! #DrupalBirthday — Drupal Association (@drupalassoc) January 15, 2020"
Would be great to also remove the Name/Date part if we find a solution for this.
Maybe this could be a quick workaround for the current Tweet implementation?
Bonus: Extract the hashtag from the element and add it to the keywords field :)
The text was updated successfully, but these errors were encountered: