Тёмный

How to Embed Facebook Post, Pages and Videos to a Website through oEmbed API | Facebook oEmbed 

Tech Forum
Подписаться 3,5 тыс.
Просмотров 7 тыс.
50% 1

#facebook #embed #embedfacebook
Facebook oEmbed API reference - gist.github.co...
How to Embed Facebook Post, Pages and Videos to a Website through oEmbed API
Facebook oEmbed endpoints allow you to get embed HTML and basic metadata for pages, posts, and videos in order to display them in another website or app.
The legacy one deprecated now not required the Access token - / oembed-legacy
The new Facebook oEmbed API endpoints requires Access token to fetch the data even the public posts and videos - / oembed
Common Use cases:
Rendering Facebook pages, posts, and videos in messaging apps.
Embedding Facebook pages, posts, and videos in websites and blogs.
Rendering Facebook pages, posts, and videos in a content management system.
Prerequisites:
a Facebook Developer account, which you can create at developers.facebook.com
a registered Facebook app
the oEmbed Product added to the app
an Access Token
The Facebook app must be in Live Mode
Endpoints
GET /oembed_page?url={url}&access_token={access-token} - Get a Facebook page's embed HTML and basic metadata.
GET /oembed_post?url={url}&access_token={access-token} - Get a Facebook post's embed HTML and basic metadata.
GET /oembed_video?url={url}&access_token={access-token} - Get a Facebook video's embed HTML and basic metadata.
Parameters & Attributes:
OEmbed Page reference - / oembed-page
OEmbed Post reference - / oembed-post
OEmbed Video reference - / oembed-video
The Facebook oEmbed endpoints require either an App Access Token (recommended) or Client Access Token.
App Access Tokens:
Access from back end server, access_token=5678
App Access Tokens should never be used client-side - should always be kept secure and stored on your server
App Token Rate Limits allow for up to 5 million requests per day
Client Access Tokens:
access the oEmbed endpoint from a user agent such as a mobile device or web browser
must be combined with your App ID, access_token=1234|5678
Client Token Rate Limits are significantly lower than App Token Rate Limits, not revealed the actual limit, change depending on your app activity.
To get a Client Access Token, sign into your App Dashboard and navigate to Settings -- Advanced -- Security -- Client Token.
Endpoints & Schemas - oembed.com/pro...

Опубликовано:

 

4 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 6   
@hilascs
@hilascs 3 года назад
Can't find that "oEmbed" product anymore. Did something change?
@Tech-Forum
@Tech-Forum 3 года назад
The oEmbed product has been replaced with the oEmbed Read feature. If you implemented the oEmbed product before June 8, 2021, you have until September 7, 2021 to complete App Review for the oEmbed Read feature. If you have not been approved for the oEmbed Read feature by September 7, 2021, your oEmbed implementations will fail to load.
@skriceles
@skriceles 3 года назад
Hello. What I am going to do If I still have a bad request, even if my app is in live mood?
@MasjidAlAminPurwokertoTV
@MasjidAlAminPurwokertoTV 2 года назад
no translate, im bad english
@Tech-Forum
@Tech-Forum 2 года назад
Thanks fir the comment, let me see if I can quickly enable the subtitle.
@dj786jojo
@dj786jojo Год назад
scam
Далее
Facebook Graph API - Login and token debugging
24:27
How to Embed ANY Public Instagram Post With JUST HTML
11:26
V16 из БЕНЗОПИЛ - ПЕРВЫЙ ЗАПУСК
13:57
Women’s Free Kicks + Men’s 😳🚀
00:20
Просмотров 3 млн
How to Auto Post Message on Facebook in PHP
20:15
Просмотров 7 тыс.
Everything You NEED to Know About WEB APP Architecture
10:27
API vs. SDK: What's the difference?
9:21
Просмотров 1,4 млн
You don't need a frontend framework
15:45
Просмотров 127 тыс.