Questions tagged [facebook]

The Facebook Platform offers developers the opportunity to seamlessly incorporate their apps into the widely popular Facebook social networking service. This tag is specifically designed for inquiries related to app development FOR Facebook. It is important to note that this tag should not be used to seek support regarding the usage of the Facebook website or its official app. Additionally, it is not intended for questions that revolve around wanting to mimic specific features found on Facebook.

There's just something really irritating me about that Facebook Timer feature

Have you ever noticed the timers constantly updating on Facebook? Whether it's an Ajax Request triggered by a timer or a client-side timer, there are numerous timers being used. Does this affect the performance of the website, and is there something c ...

Fetch a single random profile image from a Facebook user's list of friends using Javascript

I'm currently facing an issue with displaying a random profile picture of the user's friends on Facebook. I attempted to troubleshoot it myself but ended up crashing the login button and now it's not functioning properly. Can someone please help me identif ...

Encourage your Facebook friends to join the app using either Objective C or PHP!

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 ...

Guide to using sendKeys in selenium with nodejs to input text at the current cursor location

I've developed a script to add comments on Facebook posts. I can click on the comment box and see the cursor, however, I'm having trouble using the .sendKeys() method. Below is my code snippet: var commentBox = driver.findElement(By.xpath('//*[@id="addCo ...

AngularJS - Implement a login dialog for ASP.Net Web API that integrates with Facebook authentication

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. ...

Having trouble with a Reactjs Facebook login library - update the componentClicked function to be async

Currently, I am working on incorporating Facebook login into my React application using Redux. Within my loginUser.js file, the "FacebookLogIn" component appears as follows: <FacebookLogin appId="375026166397978" autoLoad={true} fields="name, ...

Having difficulty uploading an image to Facebook through the graph API

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 ...

The Facebook login popup has been disabled

My current challenge involves using a Facebook app to authenticate my users. If the user is not logged in to Facebook (which I verify with FB.getLoginStatus()), I provide them with a button to log in. The issue I am facing is that the pop-up for logging in ...

The Facebook JS SDK is causing an XSS error and returning a "user_denied" response, even though the Auth Popup for FB.Login is not being

I currently have a Facebook canvas app located at Previously, I was using an anchor link to direct users to the OAUTH login flow. After implementing the Facebook JavaScript SDK, I followed this logic: 1) Initialization of the FB API FB.init({ a ...

The AngularJS Facebook buttons are missing upon initial page load

I'm experiencing issues with my buttons not functioning properly. The problem seems to be related to AngularJS integration. Here's the scenario: Upon clicking the link to navigate to the page where my Facebook buttons are located, they fail to di ...

Json Swagger Editor: Error - Undefined

There is an undefined error in rendering when using the Swagger Editor. Here is the code snippet: swagger: '2.0' info: version: 1.0.0 title: AccountBalance host: localhost:2625 basePath: /accountbalance schemes: - http - https consumes: - appli ...

How can we make the Facebook like button display the fan count as the counter?

Can the Facebook like button be customized to display the fan count as the counter, and also update the fan count when clicked (like/unlike)? I've searched through forums and tutorials but haven't found a solution yet. It appears that the standard like b ...

PHP Social Media Plugin

My Hotel website features a Facebook registration module for users to sign up. There are two types of users on the site: regular registered users and Facebook registered users. Everything seems to be working fine so far. Users can post their own reviews, m ...

How do I determine the data type present in the response from the graph API?

As a beginner in graph API, I find myself needing to use multiple graph APIs simultaneously within my application. One question that arises is how can I determine the data type of the response? Specifically, how do I identify if the response contains frie ...

Error message in Fb Messenger: Quick replies data is not valid

I encountered the following error: { message: '(#100) Invalid data', type: 'OAuthException', code: 100, error_subcode: 2018032, fbtrace_id: 'H3qnFWWxE9u' } } while attempting to send this to Facebook m ...

What is the best way to measure the amount of time spent using the Facebook app

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. ...

Automate your social media presence with PHP to automatically publish posts on

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 ...

Failure to invoke Facebook login callback function

I am currently working on implementing the FB api for login in an angularjs app, using the angular-facebook library. The functionality works fine, but I have encountered a problem where the callback is not triggered after the user authorizes the app. Thi ...

Discovering webElements on Facebook using Selenium with Java

I'm currently working on a test script to post on my Facebook wall, but I have encountered an issue - I am unable to locate the element (getting an NoSuchElementException) even though I know it exists. I tried using FirePath to find a cssSelector, but no l ...

Script for tracking user activity on Facebook and Google platforms

I currently have Google tracking conversion set up, but now I also need to implement Facebook pixel tracking. My existing Google Head Script code is as follows: <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ ...

Exploring pagination and increasing limits with the FBGraph NPM package in Meteor

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 ...

What is the process for obtaining the public email address of a Facebook Business Page through the Graph API?

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 ...

Share your thoughts on Facebook using the curl command

I am hoping to have my website post a message on the fan page of the site. After finding this code, I decided to use it: <?php require_once("assets/facebook.php"); $facebook = new Facebook(array( 'appId' => '471898006354908', // Placeholder 'secr ...

The Xpath used to locate the newsfeed box on Facebook is malfunctioning

I am currently attempting to accomplish the following tasks using Selenium WebDriver with Java: Logging in to Facebook Clicking on the username Posting the word "How are you!!" as a newsfeed update While the first two steps are successful, the third ste ...

error encountered: script not found during starting the application, leading to application crash when attempting to deploy on Heroku

I am a beginner in the world of coding, but I am eager to learn so that I can create a chatbot for my Facebook page. Below are the scripts I have inside each .js file and the errors I encountered. After running 'heroku open', the web displays an ...

Tips for showcasing a unique Facebook feed on my website with PHP, similar to Twitter's display

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 ...

Passport-facebook FacebookTokenError: The provided authorization code has already been used

This block of code is related to passport.js implementation. var FacebookStrategy = require('passport-facebook').Strategy; var User = require('./app/models/users'); var config = require('./config'); module.exports = function (passport) { passport ...

Enhance the Facebook Login popup with personalized settings

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 ...

Is there a way to automatically load an entire Facebook profile in one go using a program?

Does anyone know a way to automatically download all photos from a Facebook profile, not just thumbnails? I'm thinking of using wget to fetch the page source code and then extract links to images from child a elements of all div with class="rq0e ...

Facebook Debugger unable to detect the following OG Image

I've successfully set up the NextJs OG Image, and everything seems to be working fine. However, Facebook is unable to infer the image even though all other aspects are functioning properly. The specific error/warning message states: The 'og:image ...

How can I display the Facebook "feed" pop up in a jQuery dialog box?

Is there a method to display the Facebook feed pop-up (that posts to your wall) inside a jQuery dialog box? The code I currently have opens the dialog box and feed as separate pop-ups: <script> $(function() { $( "#dialog-modal" ).dialog({autoOpen: ...

It appears that the Facebook share feature is not picking up any meta OG tags

There seems to be an issue with my Facebook share functionality as it's not reading any of the meta tags. It is indicating that the required properties such as og:url, og:type, og:title, og:image, og:description, and fb:app_id are missing. <script ...

Are there any methods to incorporate Facebook and Google login into an Ionic progressive web app (PWA)?

After successfully developing an app in Ionic 3 for Android and iOS, I encountered a problem when adding the browser platform. The Facebook and Google login features were not functioning as expected. Despite the assurance from Ionic documentation that the ...

Post the HTML5 player on your Facebook feed

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 ...

What causes the discrepancy in CSS behavior between local and remote websites?

My chrome extension enhances facebook chatbox with jquery autocompletion. I am trying to make the suggestion list menu horizontal by modifying the jquery-ui.css. When changing display:block to display:inline, the list becomes horizontal in a local HTML fil ...

Optimal Placement for FB.Event.subscribe

Here is the code I have implemented on my website for the Facebook Like and Share buttons. The functionality works seamlessly. When I click the Like button, a notification is promptly displayed on my Facebook profile page. Additionally, Facebook automatic ...

Tips for refreshing Facebook's og tags

I've been racking my brains over this issue for days, and despite the abundance of similar inquiries, I have yet to find a solution. On my blog-like website, each post requires its own title and description for Facebook articles. I know I can set them up ...

Capturing the URLs accessed by Firefox after clicking on AJAX links

Is there a straightforward method for capturing the URLs that browsers like Firefox process when clicked (for example, clicking "Send friend request" on Facebook)? I'm using "Friend Request" on Facebook as an illustration here, so please refrain from ...

Is there a way to modify the window's location without having to reload it and without resorting to any sne

Initially, I believed that the hash hack was a necessity, but after observing the recent updates from Facebook, my perspective has shifted. The original hash hack (not certain if this is the correct term) involved changing location.hash to save a state in ...

Something seems off with the output of the hmac.digest() function in node.js

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 ...

Troubleshooting problems with Facebook login authentication

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 ...

Selenium in Python: A Guide to Clicking on Web Elements

Program: Python + Selenium Situation: I am currently working on automating the login process for Facebook using a script written in Python with Selenium. My goal is to access my Facebook home page through automation. Problem: As a beginner, I am struggli ...

Developing personalized Open Graph entities with Facebook's PHP SDK v4

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 ...

A Greasemonkey script for organizing and categorizing webpage elements

I've been working on a script to enhance the functionality of Facebook's find friends page by organizing suggested friends based on mutual connections. If you're interested in checking out the code, you can find it right here: http://pasteb ...

The Facebook SDK PHP example code is malfunctioning

I am experiencing issues with the Facebook login feature on this site. Despite downloading the latest PHP SDK and following the example provided at , I am unable to get it to work correctly. While I have managed to make the Javascript component function p ...

c# Selenium WebDriver - Steps to turn off Facebook Page notifications

I'm relatively new to using Selenium WebDriver and I've encountered an issue with a notification popping up on Facebook while attempting to log in. Despite searching extensively, I haven't been able to find a solution that works for me. I ca ...

Looking for advice on automating Facebook integration testing?

Given the widespread use of Facebook login/connect for website authentication, is there a standard recommendation from Facebook or other sources on automating the process? This would involve clicking the Facebook button to bring up a popup, switching to th ...

Unable to locate the addEventListener function when utilizing php webdriver and selenium

I have been working with the webdriver for just three weeks now, and I've come across an issue regarding finding addEventListener. My setup includes using the selenium standalone server in combination with a PHP framework developed by Facebook. My g ...

Utilizing Selenium to extract engagement data, such as likes and comments, from a photo on Facebook

Excited to obtain the specific content as outlined in the title. I have successfully figured out how to log in and retrieve photos from any profile I search for. However, I am facing an issue when trying to access comments or likes on selected photos. Desp ...

Customize Next Js styling based on the user's browser requirements

There's a curious issue when viewing my website through Facebook or LinkedIn - the background color suddenly changes to a vibrant green, but only in those particular webviews. However, when I view it through other apps like Twitter or Instagram, the corre ...

Accessing post IDs on Facebook using the Graph API without having to include the user ID in

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 ...

Issues with logging out of Facebook using passport

I am currently working on implementing Facebook passport authentication. Below is the code I have in my server.js file for the route used when a user clicks on login via Facebook: router.get('/auth/facebook', passport.authenticate('facebook',{ scop ...

"The process of logging in to Facebook on Ionic app speeds up by bypassing

I'm facing a minor issue with Facebook login in Ionic. I've tried using Async - Await and various other methods to make it wait for the response, but nothing seems to work. The login function is working fine, but it's not pausing for me to p ...

Converting the creation time from JSON format and replacing any special characters in the input

I'm facing a challenge in describing this. I am using the Facebook graph to showcase my pages' activity on Facebook/Twitter (via Facebook) on a website. Everything is going smoothly, except for formatting the created_time data properly. I have ve ...

Python3 selenium can be utilized to extract the profile image link from a Facebook account

How can I fetch the Facebook profile image link using Python3 and Selenium? Upon inspecting the profile photo element, the following information is obtained: <image style="height: 168px; width: 168px;" x="0" y="0" height="100%" preserveAspectRatio="xM ...

Interactive AJAX div click functionality

For this code to work, the user needs to first click the like button and then continue to proceed. However, I am having trouble getting the div event to function properly. The like button is located within a div called postos. When something is clicked wit ...

Sharing an update on my wall

Looking for a way to customize wall posts on my Facebook Application Profile Page, as the existing "Post to Wall" functionality doesn't post the pictures I want. I'm in need of a PHP script that can help me achieve this: Inputs: App ID (ID ...

In search of a fresh and modern Facebook node template

I've been on the hunt across the internet for a quality node.js Facebook template, but all I seem to stumble upon is this https://github.com/heroku/facebook-template-nodejs. It's okay, but it's built using express 2.4.6 and node 0.6.x. I want to stay curre ...

Getting the PSID of a Facebook bot during the process of Account Linking

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 ...

Can I showcase a Facebook user's timeline on a webpage?

GOAL: My objective is to showcase the latest 5 entries from a user's timeline on a website using PHP. It's important to note that I am referring to the timeline of an individual user profile, not a fan page or group. STEPS TAKEN SO FAR: Registered as a ...

Revolutionary CSS and jQuery for an Exceptional Top Navigation Experience

I would like to create a top navigation similar to the one on Facebook, using CSS and jQuery. Here is an example: Additionally: Notice how the arrow in the popbox always remains beneath the selected navigation item, and all popboxes have the same width. ...

PHP cURL Facebook Messenger bot for sending messages

For the last few days, I have been experimenting with the Facebook Messenger Platform and encountering a problem. PHP has been the main language used. So far, I have managed to incorporate a couple of APIs into the system, mainly dealing with plain text. ...

iOS compatibility issue preventing React Native app from functioning

Hey there, I recently downloaded a sample app from https://github.com/iZaL/my-appointment. However, when I try to run it, I encounter an error in my-appointment-master/src/containers/Category/Category.js: It says "Unable to find this module in its module m ...

Problems with Displaying Facebook Ads on Mobile Web

Currently, I am incorporating Facebook Audience Network (MobileWeb-beta) for advertisements on my mobile website. However, the 320x50 HTML source code is not displaying the ad across the width of the mobile screen as intended; instead, it appears smaller ( ...

Tips for properly configuring a session with everyauth and express

I've been working on a simple nodejs application that allows users to log in with Facebook using express and everyauth. I followed the instructions provided in the README tutorial here and set up my app.js file as shown below: var everyauth = require('eve ...

Exploring the seamless integration of CakePHP 3 with Selenium for automated testing

Currently, I am working with cakephp 3, selenium facebook web driver, and phpunit. One issue that I am facing is the inability to access pages that require authentication. Despite trying to add the same auth session used in my controller unit tests, it ha ...

The Facebook Comments widget causes the webpage to automatically scroll to the bottom on older versions of Internet Explorer like

My webpage is quite lengthy and includes a Facebook comments widget at the bottom. However, when loading in IE7 and IE8, the page instantly jumps to the bottom due to this widget. Interestingly, removing the widget allows the page to load normally. This ...

Designing and implementing a platform for facilitating link posts similar to Facebook and LinkedIn

I am seeking to enhance my website by incorporating the option to like on Facebook and LinkedIn. Specifically, I want users to be able to paste a URL into a designated textbox area where it will automatically generate a content preview and provide a hyperl ...

Facebook Connect Module for Silverstripe CMS

I encountered an issue while working with the Facebook authentication module. I was attempting to log in using Facebook, but it appears that it's not functioning correctly. After clicking the login button, it prompts for permissions on the Facebook site an ...

Resizable table example: Columns cannot be resized in fixed-data-table

I've implemented a feature similar to the Facebook example found here: https://facebook.github.io/fixed-data-table/example-resize.html You can find my source code (using the "old" style with React.createClass) here: https://github.com/facebook/fixed- ...

Utilizing Facebook's UI share URL parameters within the Facebook app on mobile devices

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 ...

Using Python and Selenium to automate searches in the Facebook search bar

My usual method of using selenium to login to Facebook has hit a snag. I am attempting to input keywords into the search bar and retrieve the results, but it seems the new version of the search bar has thrown me off my game. Previously, I could locate th ...

Error in communication: Microsoft Bot framework encountered an issue with receiving a security token during the ChatConnector process

My Node.js bot framework version is 3.3.3 and I have successfully configured the "Skype" channel. However, when trying to set up the "Facebook Messenger" channel, I encounter an error stating "No security token sent". I am currently using ngrok for testing ...

What is the process for accessing someone's birthday information using the Facebook API?

Working on integrating Facebook login and successfully retrieving user details such as first_name, email, etc. However, encountering an issue with fetching the birthday information. When attempting to call for birthday using the code snippet below, no data ...

Inquiries about utilizing the Facebook Graph API and PHP SDK

I have encountered a few issues while working with the Facebook Graph API. 1). When attempting to upload a photo, I receive the error message "(#324) Requires upload file". $attachement = array( 'access_token'=> ...