Retrieve tagged photos from the News Feed using the Graph API

I'm looking to access all photos from a user's newsfeed on Facebook through the Graph API. I want to retrieve not just the posted photos, but also those that the user has commented on, been tagged in, or where their friends have been tagged. Is there a way to achieve this using the Graph API without resorting to FQL?

Answer №1

Regrettably, there does not appear to be a simple solution for this issue. As a result, I resorted to utilizing the following FQL query:

SELECT message, description, attachment FROM stream WHERE filter_key = 'app_542837283'

The image can be found within the attachment field, and you may need to consider filtering it based on albums.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Is the JSON response being transmitted one character at a time?

In my MVC application using Razor and C#, I am facing a challenge while trying to display database data in a jquery DataTable. The problem lies in the serialization and interpretation of JSON data by the datatable. Javascript (CSHTML page): <script> ...

I'm struggling to confirm the accuracy of my calculations

I'm facing an issue with validating my form. I've created a script based on calculations outlined below <script> var class_let = new Array(); class_let["Class A"]=10; class_let["Class B"]=20; class_let["Class C"]=40; class_let["Class D"]=5 ...

Building a client-side webservice using the <script> tag in JavaScript

I am currently working on implementing a client-side webservice client. In order to bypass the same server policy, I am considering including an external page that contains the content I need to read using the <script> tag which can fetch cross-doma ...

Retrieve the parameter values in PHP that were passed from AngularJS

This is my first time working with PHP and AngularJS. I am trying to pass parameters from AngularJS to a PHP file, where they will be used in an INSERT query. I have set up an XMLHttpRequest to call the PHP file (addsubscriber.php?par1=val1&par2=val2) ...

Steps for attaching an onclick function to a Twitter button:

Is there a way to make an Ajax request for my Twitter button (https://dev.twitter.com/docs/tweet-button) before it redirects to Twitter? I want to perform some JavaScript actions before opening the Twitter login popup like this: window.addEvent('do ...

Encountered a problem while assigning a function to a variable

I'm currently working with a function that retrieves images based on a search query. Here's the code: function getImage(query){ var serach_title = query.replace(/\ /g, '+'); var imgUrl = "https://ajax.googleapis.com/ajax/s ...

A guide on updating the color of a Button component (Material UI) when dynamically disabling it

In a React table, I have a button that is disabled based on the value in an adjacent column. For example, if the value in the adjacent column is "Claimed", the button is disabled. However, if the value is "Failed" or blank, the button can be clicked. Curre ...

The structure becomes disrupted when the Material Ui grid is enclosed within a div container

I currently have a responsive dashboard built with Material Ui's Grid elements. One of the grid items is wrapped in a div element, causing the layout to break. Check out the playground with the div element here: https://codesandbox.io/s/basicgrid-mat ...

Using Accordions in Jquery to dynamically adjust page height during ajax calls

I am currently using AJAX to call in a page and animate its height successfully. However, I have encountered an issue with an accordion-like function that is supposed to toggle the visibility of an element and adjust the height of the containing element ac ...

Optimal method for efficiently loading a JSON file over 100MB in Node.js

Each day, my system generates data and stores it in a json file that is around 120MB in size. I'm currently working on sending this data to the client using nodejs. router.get('/getData',(req, res) => { const newData = require(`./ne ...

A guide on styling JSON key values within HTML

I need help organizing my JSON Document on an HTML page. Here is the JavaScript code I am using: xmlhttp.onreadystatechange = function () { if (xmlhttp.readyState == 4 && xmlhttp.status == 200) { // Optionally, here you can update ...

What is the best way to divide the dev-server.js file in Vue into multiple separate files?

Currently, I am utilizing vue.js to develop an application and have created a mock login api on localhost in dev-server.js. Now, I am looking to refactor the code related to the login api into a separate file. Do you have any suggestions on how I can ach ...

Having trouble getting the Javascript dropdown script to work on a Wordpress page?

Hello all, I've been experimenting with creating a simple dropdown menu for my Wordpress website. The idea is that when a user clicks on a specific text, a dropdown menu with various links will appear. I followed the guidance from W3 Schools, but unfo ...

Having trouble accessing object properties fetched via API, receiving the error message "TypeError: Cannot read property '' of undefined" in Next.js with JavaScript

Encountering a unique issue specific to NextJs. Fetching data from an API using a custom hook and receiving an array of objects as the result. Successfully logging the entire result (array of objects). const myMovieGenreObjects = useFetchNavBarCategories( ...

Ways to locate the origin of a connect ECONNREFUSED issue in node.js

I recently inherited a complex nodejs application that communicates with 5 other applications via various network interfaces, mainly HTTP REST APIs. Occasionally, I encounter errors that are caught to prevent the application from crashing, but I struggle t ...

Guide on transferring text from .txt document to .xlsx file in a Node.js environment with the assistance of the xlsx library

I recently extracted names from my cypress test and stored them in a text file called 'name.txt' located in the root directory of my project. Now, I am looking to transfer all the text from 'name.txt' into an excel file named 'qaau ...

Guide on displaying a document in react-doc-viewer from a protected API endpoint in either Next.Js or ReactJs

I am looking to display files in my Next.JS web application using a secure API. The API provides the following data: { "name": "Test1.docx", "contentUri": "https://api.mypurecloud.ie/api/v2/downloads/x ...

Tips for integrating and showcasing API data in your React JS application by utilizing React Table and Axios

I am just starting out with React and I am faced with the task of fetching data from an API and displaying it in a table. I have decided to use React Table for this purpose. However, I am encountering some issues with getting the data from the API to sh ...

Navigating the itemlist HTML to extract and manipulate data in a Flask application

In my current project, I am attempting to retrieve a value from an array in Flask based on the user's selection. Additionally, I need to perform calculations on this value within Flask as well. Below is the code snippet: HTML Code: <div class="f ...

What is the best way to retrieve a value from an `<input type="number">` element and incorporate it into the script section?

Check out this code snippet <html> <head> head <title>title</title> </head> <script> var val1 = parseInt(document.getElementById('input1')); function bytton() { window.alert(val1); ...