Tech Note: New Feature! Embedded Facebook Posts in LGF Comments
Today I’m happy to announce a new feature that took a while to get working: you can now embed Facebook posts from any publicly viewable page in an LGF comment.
(The reason this took a while is because Facebook’s API is a confusingly inconsistent hot mess, but that’s another story.)
It’s very simple to put an embedded Facebook post in a comment; at Facebook, just right-click on the timestamp of a post (or tap and hold on a mobile device), choose “Copy” from the popup menu to copy the address of that post, then paste that address into an LGF comment on its own line.
Here’s a screenshot with the timestamp outlined in red…
When you post that comment the address will be automagically transformed into an embedded copy of the Facebook post. Quick and easy, just the way we like it.
Because the Facebook interface is a confusingly inconsistent hot mess as I mentioned above, there may still be some posts that have a URL we don’t handle, but as I become aware of more URL formats I’ll try to include them in the code.
If you’re on a work computer that doesn’t let you view embedded Facebook or Twitter posts, you’ll see a link to the page at Facebook instead. (Unlike Twitter, Facebook doesn’t give us a text version of the post that we can display if the embedding doesn’t work for some reason.)