Not everything we want comes via Brid.gy, so we can directly query services to find links to our posts and supplement the webmention.io results.
Requires jekyll-webmention_io.
Requires Twitter gem:
gem install twitter
The get_twitter_webmentions.rake rakefile will search for your posts and pages via the Twitter Search API. You will need to register your site as an app and acquire the necessary keys. Store them in the following environment variables:
TWITTER_CONSUMER_KEYTWITTER_CONSUMER_SECRETTWITTER_ACCESS_TOKENTWITTER_ACCESS_SECRETYou may need to update line 5 of the rakefile to point to your root folder. The current line assumes this rakefile is contained in /tasks/rake/ and merged into your master Rakefile using
Dir.glob('tasks/rake/*.rake').each {|r| load r}