Skip to content

Commit

Permalink
docs: rename twitter → x (#1738)
Browse files Browse the repository at this point in the history
* ci: remove urlint

use lychee instead

* docs: rename twitter → x
  • Loading branch information
Kikobeats authored Aug 2, 2024
1 parent cc477f3 commit 2edfdfa
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 17 deletions.
7 changes: 3 additions & 4 deletions src/components/patterns/Microlink/Microlink.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const code = `
import { Microlink } from 'components/patterns'
import { Fragment } from 'react'
const url = 'https://twitter.com/futurism/status/882987478541533189'
const url = 'https://x.com/futurism/status/882987478541533189'
export default () => (
<Fragment>
Expand All @@ -26,8 +26,7 @@ const DATA = {
title: 'Futurism on Twitter',
publisher: 'Twitter',
image: {
url:
'https://pbs.twimg.com/amplify_video_thumb/882986340605939712/img/k-NlEfo7z0Xvo9ab.jpg',
url: 'https://pbs.twimg.com/amplify_video_thumb/882986340605939712/img/k-NlEfo7z0Xvo9ab.jpg',
width: 720,
height: 720,
type: 'jpg',
Expand All @@ -44,7 +43,7 @@ const DATA = {
size: 2113,
size_pretty: '2.11 kB'
},
url: 'https://twitter.com/futurism/status/882987478541533189'
url: 'https://x.com/futurism/status/882987478541533189'
}

storiesOf('Patterns', module).add('Microlink', () => (
Expand Down
2 changes: 1 addition & 1 deletion src/components/patterns/Toolbar/ToolbarLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export const NavGitHub = createNavItem({

export const NavTwitter = createNavItem({
children: 'Twitter',
href: 'https://twitter.com/microlinkhq',
href: 'https://x.com/microlinkhq',
title: '@microlinkhq on Twitter',
icon: false
})
2 changes: 1 addition & 1 deletion src/pages/blog/custom-rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Today we’re happy to introduce a new core functionality called **Custom Rules*

**Custom Rules** provide you an interface to interact with the API, specifying new data fields that can be extracted from an specific URL.

Imagine you want ot interact with an Instagram profile url, like [@elonmusk](https://twitter.com/elonmusk)'s profile.
Imagine you want ot interact with an Instagram profile url, like [@elonmusk](https://x.com/elonmusk)'s profile.

![](https://i.imgur.com/subDjQ1.png)

Expand Down
4 changes: 2 additions & 2 deletions src/pages/blog/microlink-sdk-4-5.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Microlink SDK <Link href='/docs/sdk/parameters/size/'>size</Link> variations.

The card approach improves a lot of the URL preview experience, making it possible for you to adopt it on your own website or application.

However, some domains on the Internet (like **Instagram**, **SoundCloud**, **Spotify**, **Facebook**, **Twitter**,…) have their own way of embedding their content, making the Microlink card displayed less recognizable than using their own way.
However, some domains on the Internet (like **Instagram**, **SoundCloud**, **Spotify**, **Facebook**, **X**,…) have their own way of embedding their content, making the Microlink card displayed less recognizable than using their own way.

**Microlink SDK v4.5** introduces the ability to set `iframe` as the [media](/docs/sdk/parameters/media/) property for using a native embed solution always when it's available.

Expand Down Expand Up @@ -90,6 +90,6 @@ A non exhaustive list of the most common providers could be:
- [Spotify](/meta?url=https%3A%2F%2Fopen.spotify.com%2Ftrack%2F1W2919zs8SBCLTrOB1ftQT)
- [TED](/meta?url=https%3A%2F%2Fwww.ted.com%2Ftalks%2Fmonique_w_morris_why_black_girls_are_targeted_for_punishment_at_school_and_how_to_change_that%3Futm_campaign%3Dtedspread%26utm_medium%3Dreferral%26utm_source%3Dtedcomshare)
- [Twitch](/meta?url=https%3A%2F%2Fwww.twitch.tv%2Fshroud%2Fclip%2FAuspiciousTubularBunnyFUNgineer)
- [Twitter](/meta?url=https%3A%2F%2Ftwitter.com%2Ffuturism%2Fstatus%2F882987478541533189)
- [Vimeo](/meta?url=https%3A%2F%2Fvimeo.com%2F186386161)
- [X](/meta?url=https%3A%2F%2Fx.com%2Ffuturism%2Fstatus%2F882987478541533189)
- [YouTube](/meta?url=https%3A%2F%2Fyoutube.com%2Fwatch%3Fv%3D9P6rdqiybaw)
4 changes: 2 additions & 2 deletions src/pages/blog/product-brief-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Maintaining documentation is laborious and requires effort. We needed to combine

After comparing multiple approaches on the matter and seeing how other companies take on the challenge, we decided on [Vercel documentation](https://github.com/vercel/docs) portal.

<Microlink size='large' url={'https://twitter.com/Kikobeats/status/956221717319421952'} />
<Microlink size='large' url={'https://x.com/Kikobeats/status/956221717319421952'} />

Although it required some laborious work, the final result is impressive. We are very grateful to [Vercel](https://vercel.com) for making it possible.

Expand All @@ -56,7 +56,7 @@ Our current target is improving the data accuracy related with **video** content

On this period, we did a lot of internal improvements and developed [metascraper-youtube](https://www.npmjs.com/package/metascraper-youtube) for enhancing the results when you want to get information from a YouTube url.

Under the hood, we’re testing something pretty exciting: Adding a new **video property** ([spoiler](https://api.microlink.io/?url=https://twitter.com/verge/status/957383241714970624)) into the [Microlink API](/docs/api).
Under the hood, we’re testing something pretty exciting: Adding a new **video property** ([spoiler](https://api.microlink.io/?url=https://x.com/verge/status/957383241714970624)) into the [Microlink API](/docs/api).

It would return any video detected in the target URL. This also allowing us to build a richer content preview (with the [Microlink SDK](/docs/sdk/getting-started/overview/)).

Expand Down
2 changes: 1 addition & 1 deletion src/pages/blog/product-brief-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ We added properties to control the video, like [autoplay](/docs/sdk/parameters/m

<Figcaption>
Our fancy loading animation, claps to{' '}
<Link href='https://twitter.com/breadadams' children='@breadadamas' /> 👏.
<Link href='https://x.com/breadadams' children='@breadadamas' /> 👏.
</Figcaption>

We improved the transition between how the card looks before the content of the card is loaded, to give it a more *natural* look.
Expand Down
8 changes: 4 additions & 4 deletions src/pages/blog/product-brief-4.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ We extended the original idea, adding support for detecting more video providers

<Microlink url='https://instagram.com/p/BXHj-DllyYU' />

**Twitter**

<Microlink url='https://twitter.com/verge/status/957383241714970624' />

**Vimeo**

<Microlink url='https://vimeo.com/188175573' />

**X**

<Microlink url='https://x.com/verge/status/957383241714970624' />

**YouTube**

<Microlink url='https://www.youtube.com/watch?v=hwMkbaS_M_c' />
Expand Down
3 changes: 1 addition & 2 deletions src/pages/docs/api/parameters/iframe.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,6 @@ A non exhaustive list of supported providers are:
- [Tuxx](https://www.tuxx.be/)
- [tvcf](https://tvcf.co.kr)
- [Twinmotion](https://twinmotion.unrealengine.com)
- [Twitter](https://www.twitter.com/)
- [TypeCast](https://typecast.ai)
- [Typlog](https://typlog.com)
- [UAPod](https://uapod.univ-antilles.fr/)
Expand Down Expand Up @@ -349,7 +348,7 @@ A non exhaustive list of supported providers are:
- [Wokwi](https://wokwi.com)
- [Wolfram Cloud](https://www.wolframcloud.com)
- [WordPress.com](https://wordpress.com/)
- [X](https://www.x.com/)
- [X](https://x.com/)
- [YouTube](https://www.youtube.com/)
- [YUMPU](https://www.yumpu.com/)
- [Zeplin](https://zeplin.io)
Expand Down

0 comments on commit 2edfdfa

Please sign in to comment.