Bahasa:

Cara menampilkan Halaman Facebook dan Profil di situs web?

Sejak skandal Facebook terkait penyalahgunaan data pribadi, API Facebook terus berubah dan diperbarui. Hampir setiap minggu, aplikasi dan plugin yang menggunakan API ini, termasuk Facebook Feed widget menghadapi masalah kinerja.

Oleh karena itu, kami telah mengembangkan solusi yang 100% berfungsi untuk menampilkan halaman atau profil Facebook di situs Anda, yang tidak akan terpengaruh oleh perubahan yang terus-menerus.





Pembaruan: Berdasarkan perubahan kebijakan Facebook, tampilan profil Facebook sementara tidak didukung. Begitu fiturnya tersedia kembali, plugin kami akan mendukungnya. Untuk informasi lebih lanjut, hubungi dukungan pelanggan.

Lihat pendapat ChatGPT Buka editor widget langsung
How to display Facebook Page and Profile on a website?

2. Create a new app ID

Enter Display name, Contact email and then press Create App ID button.
Create a new Facebook App ID

3. Choose your app in Graph API Explorer

Go to https://developers.facebook.com/tools/explorer and replace Graph API Expolrer with the app you’ve created.
Choose your app in Graph API Explorer

4. Get your User Access Token

Press Get Token and select Get User Access Token.
Get your User Access Token

5. Select permissions for your Facebook Access Token

Check the required options on the popup window.

To display your Facebook page on a website choose:

  • manage_pages
Permissions to display your Facebook page
To display your Facebook page choose only «manage_pages»

To display your Facebook profile on a website choose:

  • user_likes
  • user_photos
  • user_posts
  • user_status
  • user_videos
  • user_managed_groups
Permissions to display your Facebook profile
To display your Facebook profile choose the permissions stated above
Confirm all the requests.

6. Open in Access Token Tool

Click Info icon next to the token and Open in «Access Token Tool» button.
Open in Access Token Tool

7. Extend Access Token

Press Extend Access Token.
Extend Facebook Access Token
Important: Facebook Access Token is valid only for two months, so make sure you take all these steps again in two months, to get a new access token.

8. Copy your Facebook Access Token

Select the whole Access Token and copy it.
Copy Facebook Access Token
Article by
Marketing Lead
I’m Andrei Kozinskiy, Marketing Lead at Elfsight. I’m responsible for driving user growth through content and various traffic channels. I love sharing insights and experiences to help others succeed.