I am using the Facebook events API to retrieve upcoming events from a public page. However, I only want to display events that have not yet passed. To achieve this, I need to filter them by date. Below is the code snippet I am currently using: FB.api( & ...
Currently, I am working on a project that involves retrieving Facebook news feed data using the graph API. Upon receiving the JSON object, I display it on the page. The "Likes" section is presented as an array of JSON objects like this: data.likes: { ...
I am completely new to integrating the FB graph API into my website and have been following the official FB login tutorial provided on their website. Despite following the steps, I encountered this error after attempting to log in: Failed to connect to gr ...
I have been working on developing a Facebook app that adds a tab to my Facebook page using the Codeigniter Framework. I need access to specific user information such as email and education on a particular page of my app. However, I am facing issues with au ...
I have successfully transformed my object data into an array and now I am facing some difficulties in extracting specific parts from the multidimensional array. Any kind of assistance would be highly appreciated, thank you. /* SDK version 4.0.0 written i ...
I've been trying to figure out how to pass an array of objects in a GraphQL mutation from the React JS side. I attempted passing the object in React but encountered an error stating that it's not the same type. [input type][1] [from api side][2] [declar ...
Encountering an issue with the Fb ui share functionality on certain smartphones Here is the function: function shareFB(data){ FB.ui({ method: 'share', href: data, }, function(response){}); } Implemented as follows: $urlcod ...
I've developed a unique social media management application that enables users to automatically post on their social profiles using the Facebook, Instagram, and LinkedIn APIs. Everything is functioning well, except for one issue - my Emojis are not di ...
Currently, I have a player that exists in both Flash and HTML5 versions. When calling a page through an iframe, the browser and device are detected automatically to load the player accordingly, and this setup is functioning correctly. Prior to implementin ...
After successfully implementing Facebook authentication on my website, I have requested the necessary permissions to access users' email addresses. Currently, during testing, I have granted these permissions through my profile. Could you please advise ...
Currently, I am extracting user data from my iOS app (me/friends, me/events, ...). I need to send this JSON to a server for further data processing. The issue that I am facing is that when I receive a response for my me/events object, it comes without any ...
I am currently using the Facebook Graph API to retrieve a user's posts and display them in PHP. I want to add a link to each post, and I have been attempting to create these links by inserting the "post ID" number into a URL. However, the ID provided by ...
I have a requirement to upload a photo to Facebook using the Javascript SDK, but I am experiencing some difficulties: Firstly, FB.login(function (response) { if (response.authResponse) { va ...
My attempt to retrieve a user's display picture through the Graph API and save it to disk using cURL has hit a roadblock. I'm encountering an error when trying to check the mime type of the saved picture: Notice: exif_imagetype(): Read error! in ...
I am facing an issue while trying to fetch media posts from last month on an Instagram Business profile that I manage. Despite using 'since' and 'until' parameters, the API is returning posts outside of the specified time range. The AP ...
It seems that I'm facing an issue where `getsessionformredirect` always returns null. The log output shows "session = " returning null. Despite looking through various threads and trying out different Facebook login example files, I haven't been able to fi ...
At the moment, I am utilizing the Graph API and the PHP SDK from Facebook to collect data and recent wall posts from a Business Page. This information includes details like name, address, and phone number. However, even though the public email address is ...
Is there a way to retrieve the comments made by a Facebook page, such as this one? The code provided only fetches general information. What format should the URL be to retrieve the comments specifically? $Page_ID = 'https://www.facebook.com/nauhote ...
I'm looking to track the amount of time each user spends in my Facebook app. I'm not quite sure how to go about coding this. Any suggestions or tips would be greatly appreciated. I am utilizing the Graph API for this task. ...
Could someone assist me in understanding how to download an image from Node/Express/Cloud Functions for Firebase? Currently, I'm only able to retrieve an object containing information about my image in Firebase storage (using getMetadata();) let ima ...
Currently incorporating Easy Facebook for AngularJS (https://github.com/pc035860/angular-easyfb) into my project and encountering some inconsistencies in its functionality. Upon inspecting with console.log(ezfb);, I discovered the following: https://i.sta ...
Is it possible to create a web app that can retrieve all public photos from any user's Facebook account using their profile URL? For instance, some Facebook profiles allow non-logged in users to view profile pictures and cover photos. I am developing this ...
I'm frustrated with the constant changes, instability, and lack of proper documentation on Facebook's platform. Right now, I'm in the process of migrating an app from FBML to an iFrame app due to its deprecation, but I'm facing authenti ...
I've recently incorporated Facebook like buttons into the articles on my online store. It's great because when someone shares a post about a product or article, it shows up on their wall. Users receive notifications on Facebook when someone else ...
I manage a Facebook Page with a group of friends. Fans frequently send us texts that we have to post on our page. Currently, we are using a Google Form for this purpose. While it gets the job done, the process of copying and pasting is quite tedious... T ...
I've been following a tutorial on integrating Facebook authentication with my AngularJS single-page app. The tutorial has been helpful in guiding me through this process. The code snippet below shows the GetExternalLogin method mentioned in the tutorial. ...
Seeking guidance on initiating the use of the Graph API to fetch fundamental public details from an Instagram account, such as account name, likes, post date, image URL, and description. While I successfully accomplished this task with the Instagram API, ...
Here is the code snippet that I am working with: $(document).ready(function() { var url = "https://graph.facebook.com/search?q=cinema&type=post"; $.ajax({ type: "POST", url: url, dataType: "jsonp", success: fun ...
As I implement the Facebook Ionic authentication provider, I am wondering: where and how should I configure the scope to request user consent for accessing specific data from their Facebook profile in my Ionic app? This configuration is being done on the ...
I'm currently developing a PHP script to automatically share posts on Facebook. The script runs perfectly when executed directly from the browser, but when I enable cron jobs it executes the file without sharing on my Facebook wall. I'm unsure of what mi ...
I recently completed my project with NextJS and successfully deployed it on Vercel. The URL for my project on Vercel is https://my-project.vercel.app, while my custom domain (configured in the project settings on the Vercel dashboard) is www.example.com. ...
When a user clicks, a popup is triggered: FB.login(function () { // My CallBack }, { scope: 'email,user_birthday,user_location,user_hometown' }); This generates a Facebook login link with multiple parameters. I desire to include an ad ...
I developed a unique app that enables users to update their statuses from external sources using the PHP SDK. My main query is regarding automatically logging in registered users once they've initially authorized their Facebook accounts through the app. I ...
Looking to retrieve posts from a Facebook page? You can check it out here. However, there seems to be a slight delay in loading the page (approximately 4-5 seconds). I suspect that using 2 "foreach" loops to fetch the data might be causing this issue. Be ...
I am facing a challenge in implementing a Facebook library with node.js as the request signing is not functioning correctly. I have translated the PHP example provided here into node.js. When testing it with the sample data provided, using "secret" as the ...
Recently, I encountered an issue while trying to set up an album for a specific page. The error message that appeared was: [15-Sep-2011 22:38:14] PHP Fatal error: Uncaught OAuthException: (#100) Invalid ID for album owner thrown in C:inetpubwwwrootD ...
Hey there, I'm in need of some guidance on how to obtain the Page Scope ID (PSID) or Sender ID during the Account Linking process. I've looked at the documentation and it suggests using the following solution. However, I'm not sure how to i ...
Is there a better way to maintain a session cookie in my Facebook app rather than getting a new session each time a user navigates to a different page in the canvas? $facebook = new Facebook(array( 'appId' => 'myid', 'secret' => 'mysecret', ...
I'm in the process of creating an app that would greatly benefit from suggesting a user's Facebook friends as they type. However, I've hit a roadblock when it comes to converting the Open Graph result (retrieved by accessing a user's friends through graph. ...
How do I retrieve data from Facebook Graph API such as [message] and [created_time]? Below is the JSON response I receive from Facebook Graph API: Array ( [posts] => Array ( [data] => Array ( [0] => Array ...
I've searched the entire website and came up empty-handed. My goal is to showcase the latest Facebook post on my website's footer using PHP. I only want to display post description and time from Facebook in a custom CSS format. While Twitter off ...
When attempting to upload events to Facebook's offline conversion dataset with custom fields, I encountered the following error: Status: 400 Response: { "error": { "message": "(#100) param data must be an array ...
How to Modify Facebook Post Date using Graph API facebook facebook-graph-api I am able to publish on my wall using the Graph API. By utilizing FB nod and graph, I now need to post on Facebook with a date from the past Afterwards, I can adjust the date man ...
I'm completely new to php and I am looking for a way to automatically scrape metadata. I came across a solution, but I am unsure how to implement it in php. POST /?id={object-instance-id or object-url}&scrape=true Can anyone provide a sample php ...
After finally mastering the latest version of the Facebook PHP SDK (version 4) and integrating it into my PHP code successfully, I encountered a hurdle. Here is an excerpt from my code: $user_profile = (new FacebookRequest($this->session, &apos ...
While this question may have been asked in the past, I am curious to know if there have been any new developments in Facebook's API that would allow for specific functionalities. Is it feasible (with permission from Facebook) for a user to programmaticall ...
Is anybody familiar with the process of generating user-owned Facebook Open Graph objects using version 4.0.* of the PHP SDK provided by Facebook? I've been searching for an example of a successful Open Graph PHP request with the latest updates, but h ...
After going through numerous discussions on this problem, I realized that none of them truly explains the issue at hand. To resolve the conflicts arising from using facebookSDK with JSON, one effective solution is to alter the names of the JSON classes ca ...
After following a tutorial on (www).andrehonsberg.com/article/facebook-graph-api-meteor-js, I successfully implemented the FBgraph NPM package (www).npmjs.org/package/fbgraph with Meteor. The main goal was to count the number of tags in a comment on a Face ...
I am currently working on an Android Application that involves user login. After the user logs in, I send the access token to the server to retrieve additional information about the user from Facebook. However, I have encountered a problem where Facebook a ...