I want to create a page on the Facebook, where I want to post Code from different languages.
- Does Facebook provide any means of posting formatted code on the wall?
- Is there an API for doing so on Facebook?
I want to create a page on the Facebook, where I want to post Code from different languages.
July 2019 update
You can do it in two ways, but only in group posts.
IMPORTANT: it only works when you actually type out the backticks or spaces, it doesn't work when you copy and paste the entire post.
Short answers to short, on-point questions:
(Jan 2018)
1. No
2. No
(Updated Jan 2022)
You can use static html to write your own codes on a facebook page. It will create new tabs where you can write all html, javascript codes as you wish.
Save the code and paste it into your Facebook wall as an image.
© 2022 - 2024 — McMap. All rights reserved.