DEV Community

Discussion on: Get started with Webmentions in Gridsome

Collapse
 
jswhisperer profile image
Greg, The JavaScript Whisperer • Edited

Thanks a lot for the plugin and the article!
I was wondering how to use $path in the regex filter. I've tried adding a regex directly
/^(https):\/\/website.com\/*$/gm but it doesn't parse in graphql land

actually silly me the urls are of tweets for example https://twitter.com/cactusanddove/status/1261685842805846017#favorited-by-4318683435 how are you grabbing the link contained in the tweet? gregbenner.life/missing-frontend/

Collapse
 
jswhisperer profile image
Greg, The JavaScript Whisperer

Ah haaa figured it all out, I was looking for the likeOf and repostOf properties. cheers