https://github.com/fitzwilliammuseum/fitz-twitter-art-bot
A R repo which allows a twitter bot to tweet random pictures from the Fitz collection.
https://github.com/fitzwilliammuseum/fitz-twitter-art-bot
cambridge-university rstats twitter-bot
Last synced: about 1 month ago
JSON representation
A R repo which allows a twitter bot to tweet random pictures from the Fitz collection.
- Host: GitHub
- URL: https://github.com/fitzwilliammuseum/fitz-twitter-art-bot
- Owner: FitzwilliamMuseum
- License: gpl-3.0
- Created: 2022-02-10T09:49:21.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-24T11:12:46.000Z (over 2 years ago)
- Last Synced: 2025-03-25T09:49:17.886Z (about 2 months ago)
- Topics: cambridge-university, rstats, twitter-bot
- Language: R
- Homepage: https://twitter.com/fitzArtBot
- Size: 35.2 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fitzwilliam Museum Twitter Bot - random Art work
[](https://zenodo.org/badge/latestdoi/457719564) [](http://orcid.org/0000-0002-0246-2335)
This twitter bot runs from a simple R script. This script
polls a random json endpoint from the collection database and
then assembles a tweet with:* Link to record
* An image of the artwork
* The title(s) of the artwork
* The maker(s) of the artwork
* Accession numberThis currently pulls just from the works in Prints and Drawings with a picture
attached, this may change.The bot tweets at https://twitter.com/fitzArtBot
## How this works
To make this work, a Twitter App needs to be generated with elevated access to the V2 API (read and write) - apply for access from essential after generation.
Once you have set up the twitter account, you need to set the 4 keys referred to in the R script as secrets in the github repo settings. Then the action will be executed every 6 hours and send a tweet.The endpoint from which JSON is retrieved can be found at https://data.fitzmuseum.cam.ac.uk/random and is also used to run https://random.fitzmuseum.cam.ac.uk
## License
GPL V3 for code
Content within the Fitz API that this calls data from is CC-0 for metadata, CC-BY-NC-ND for images.