Embark on a journey of knowledge! Take the quiz and earn valuable credits.
Take A QuizChallenge yourself and boost your learning! Start the quiz now to earn credits.
Take A QuizUnlock your potential! Begin the quiz, answer questions, and accumulate credits along the way.
Take A QuizPlease log in to access this content. You will be redirected to the login page shortly.
LoginDigital Marketing Facebook Marketing API 2 years ago
Posted on 16 Aug 2022, this text provides information on Facebook Marketing API related to Digital Marketing. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.
No matter what stage you're at in your education or career, TuteeHUB will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.
Please log in to access this content. You will be redirected to the login page shortly.
LoginReady to take your education and career to the next level? Register today and join our growing community of learners and professionals.
manpreet
Best Answer
2 years ago
_x000D_ Facebook reviews are pretty annoying and mostly impossible to go through. But I managed to make exactly what you want: get my own Instagram's feed. I made it with Facebook Javascript SDK. The first thing you should keep in mind is that you must be logged in your Facebook's account with the browser you are using. Otherwise, you should add the login code (I can put in here if you need it). After all the steps about connect your Facebook account with your Instagram (getting the appID): Reference Facebook Javascript SDK Init Facebook FB.init({ appId: "your_app_id", autoLogAppEvents: true, xfbml: true, version: "v3.1" }); If you are connected (very important): FB.getLoginStatus(function (response) { // Check login status if (response.status === "connected") { FB.api( "/" + your_facebook_page_id + "/", "GET", { "fields": "instagram_business_account" }, // Get Instagram's account ID function (response) { FB.api( "/" + response.instagram_business_account.id + "/media", // Get Instagram's media "GET", { "fields": "shortcode" }, // In this case, only shortcode function (response) { // Do something with the data } ); } ); } else { console.log("Error recovering access token: Not connected.") console.log(response) } }); Hope it helps!