You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 12, 2021. It is now read-only.
After some investigation, this tweet was not picked up because it references the book in question by its URL (books.openedition.org/oep/8999), yet we only search for books based on DOI. After adding the URL to the Twitter search, it was still unable to find the tweet. The following combinations were tested:
DOI and all URLs: keywords = ['"https://books.openedition.org/oep/8999"', '"https://books.openedition.org/oep/pdf/8999"', '"https://books.openedition.org/oep/epub/8999"', '"10.4000/books.oep.8999"']
Only the relevant URL Keywords = ['"https://books.openedition.org/oep/8999"']
Only the relevant URL without 'https://' Keywords = ['"books.openedition.org/oep/8999"']
None of these searches with the Twitter client returned anything.
Ideally, we should be able to search for tweets about a book that is mentioned by its URL, not just its DOI.
The text was updated successfully, but these errors were encountered:
Update; The problem seems to be because twitter converts all tweeted urls to a tiny url; https://help.twitter.com/en/using-twitter/how-to-tweet-a-link; so the original URL does not form part of the tweet text, so will not be matched when searching tweets using the URL as a keyword.
Moreover, the URLs are not predictable, not unique (i.e. there can be more than 1 timy URL for a given expanded URL).
It looks like twitter does allow you to search for the expanded URLs, by prefixing a keyword with 'url:'. I have tested this and had limited success. It does, however, work with some URLs at least, so we should probably include it.
Just a note: Searching with the https:// prefix seems to work fine; but combining more than one URL in a search tends to return nothing.
i.e., the following will work: (at time of writing)
Keywords = ['url:books.openedition.org/oep/9068'] # or 'url:https://books.openedition.org/oep/9068'
Received a message querying a book tweet that was not saved by the Altmetrics service:
• "We found a tweet about one of our books but the API doesn’t show it: https://twitter.com/OpenEditionNews/status/1140910422431797250?s=20"
After some investigation, this tweet was not picked up because it references the book in question by its URL (
books.openedition.org/oep/8999
), yet we only search for books based on DOI. After adding the URL to the Twitter search, it was still unable to find the tweet. The following combinations were tested:DOI and all URLs:
keywords = ['"https://books.openedition.org/oep/8999"', '"https://books.openedition.org/oep/pdf/8999"', '"https://books.openedition.org/oep/epub/8999"', '"10.4000/books.oep.8999"']
Only the relevant URL
Keywords = ['"https://books.openedition.org/oep/8999"']
Only the relevant URL without 'https://'
Keywords = ['"books.openedition.org/oep/8999"']
None of these searches with the Twitter client returned anything.
Ideally, we should be able to search for tweets about a book that is mentioned by its URL, not just its DOI.
The text was updated successfully, but these errors were encountered: