question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support linkbacks as in the blogosphere

See original GitHub issue

Consider two users foo (https://foo.org/twtxt.txt) and bar (https://bar.org/twtxt.txt).

When user foo mentions user bar in her tweet, the client could call the linkback url as defined in bar’s metadata (#22 #48), e.g. https://bar.org/twtxt/ping.php?url=https://foo.org/twtxt.txt&name=foo (name optional?)

ping.php would log the request to https://bar.org/twtxt/ping.txt (linkback log) as in: 2016-03-06T11:12:25+01:00 <@foo https://foo.org/twtxt.txt> mentioned you.

As user bar is subscribed to her linkback log she’d see the mention in her timeline.

Similar to pingback/trackback as in blogs, cf. https://en.wikipedia.org/wiki/Linkback. Sorry, if you already thought of all this.

Exemplary ping.php to write the linkback log ping.txt

$line = date('Y-m-d\TH:i:sP')."\t"."<@$_GET['name'] $_GET['url']> mentioned you.";
$fh = fopen('ping.txt','a'); fwrite($fh, $line."\n"); fclose($fh);

Issue Analytics

  • State:open
  • Created 8 years ago
  • Reactions:3
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
Zegnatcommented, Apr 11, 2017

Just driving by and wanted to drop in and point people at Webmention, the latest W3C Recommendation for “a simple way to notify any URL when you mention it on your site”.

The syntax is basically as described by @archusr in https://github.com/buckket/twtxt/issues/109#issuecomment-196016659, except the parameters are called source and target.

1reaction
DracoBluecommented, Mar 13, 2016

👍

Url of the twtxt.txt should be sifficient. Nick and real content of the tweet can be retrieved by the client ondemand.

So it is more like a ping 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

What are Backlinks and Do You REALLY Need Them in 2022?
Backlinks are links from blogs and other online sources that are fitting to your content on a particular blog post. They can be...
Read more >
What is Backlink in Blogging? - Bizmanualz
Backlinks are associated with the off-page SEO as those cannot be fully controlled by your business. Sometimes, other websites might link to ...
Read more >
3 Types of Blog Posts That Earn the Most Backlinks, According ...
To help bloggers in their quest for SEO authority, and non-organic traffic, our link-building expert reveals 3 types of posts that get the ......
Read more >
How to Ask Bloggers for Backlinks and Reviews - Neil Patel
Today, you'll learn how to ask bloggers the right way for favors that will help your site grow, whether that's a backlink or...
Read more >
6 Ways to Add Backlinks to Your Website or Blog - wikiHow
1. You can do a Google search for high quality backlinks, but never pay for links. You can go on related forums for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found