Questions tagged [facebook]

25450 questions
1

votes
1

answer
13.5k

Views

How do I switch to redirected url using selenium web driver

I would like to know if it is possible to switch to redirected url using java selenium web driver. I am doing automation for an app in facebook, but the developer of that app has used "Request dialog" facebook api feature which accepts "redirect_url" in java script. How do I switch my web driver to...
user2753523
0

votes
1

answer
101

Views

java.lang.NullPointerException: Attempt to invoke virtual method 'void java.io.FileDescriptor.setInt$(int) error in Facebook Audience SDK

I have integrated Facebook audience SDK 'com.facebook.android:audience-network-sdk:5.1.0' in my project. Ad Showing properly in my device during debugging more but it crashing in the live version. Please note proguard is disable. A crash report is as per below. java.lang.NullPointerException: Attem...
Anand Savjani
0

votes
0

answer
2

Views

html5 video thumbnail not showing up in Facebook webview App

I can not see a thumbnail of my video on a mobile for an mp4 html5 tag. I click from Facebook and it opens in their html webview app and I it shows up gray with an ugly box like it's missing. It still works, just no thumbnail like when I open it in any other browser. Any idea how to fix this? He...
Papa De Beau
0

votes
0

answer
5

Views

Facebook Marketing API adaccounts

I'm having some trouble with the Facebook Marketing API. I need to read all the active campaings the current user has, in all of his ad accounts. So, the first step is to read all the ad accounts. First, I tried what the documentation says: // Add to header of your file use FacebookAds\Object\AdUs...
Luca Alcalde
3

votes
1

answer
41

Views

Understanding Facebook payments Fulfillment flow

I'm learning how to implement Facebook Fulfillment flow. I can't make sense of using request_id (steps 1 & 2). The idea is that my server generates request_id and later when the app get encoded response from Facebook, compare details in that response with the stored details on my server (using requ...
Mike Keskinov
1

votes
2

answer
1.6k

Views

Facebook Graph API. How to get comment from post

Hi i have this to get comment from post it works is there is a years $json = file_get_contents("http://graph.facebook.com/730350233684840/comments?limit=2500"); echo $json; but now i have this error in facebook { "error": { "message": "An access token is required to request this resource.", "type"...
Ruydo
1

votes
2

answer
2k

Views

How to open Facebook Messenger and direct to someone?

I have FBSDK already and can use FBSDKShareKit send something on Messenger. I want just open a chat with someone in Facebook Messenger. like this: Click a button in my app(sample: Facebook app): http://i.imgur.com/j60P3Ng.png Go to Facebook Messenger and open a chat with this person: http://i.imgur....
Giga
1

votes
3

answer
2.2k

Views

Facebook Marketing API: Is it possible to filter insights by status

I am trying to filter adsets insights by adset status, but when I add a status filter, I get an empty dataset back: curl "https://graph.facebook.com/v2.7/act_/insights?fields=clicks,impressions,cpc,ctr,account_id&time_range%5Bsince%5D=2016-01-12&time_range%5Buntil%5D=2016-09-12&access_token=&format=...
Ilya
0

votes
3

answer
15

Views

cannot read “this” in react native function

I am trying to set the user data from facebook login and store it in a state but there is an error occurred. Facebook Authentication _fbAuth(){ LoginManager.logInWithReadPermissions(['public_profile']).then(function(res){ if(res.isCancelled){ console.log('login cancelled.') } else { AccessToken.getC...
Emerald
0

votes
0

answer
3

Views

How to get facebook's album and images android?

I would like to get albums from Facebook using latest SDK and display images from each album. Can anyone help to do this ? or telling me what shoud I add in the method onCompleted of this code !!! In fact, i get " empty data : data = {} " and " error = NULL " at this line : if (response.getError()...
hamza bouayad
-1

votes
0

answer
11

Views

Facebook-Messenger unfinished setup

I try to set up a facebook messenger Product in my App by following the steps. After installation, for some reason, the Messenger section is still greyed out. Messenger is unavailable I don't understand what's wrong with the Messenger product. I would appreciate any help.
gar
0

votes
0

answer
4

Views

Problem with google api on messenger chat bot (IOS)

I have a problem with google api in my chat bot of fb messenger. When I open the map on the chat, messenger open the "internal" browser windows with the map of google with all the markers...So... I have not problem on desktop and on android devices but on Ios if I try to click on one of these Marke...
derby
0

votes
0

answer
5

Views

How to enable facebook authentication in Core .NET 2.2 project?

I have a project written using C# on the top of Asp.NET Core 2.2. I am using the built-in Identity to enable accounts authentication. I am now trying to add integration to enable Facebook authentication. I followed the documentation to create an app on Facebook and then enable it on my site. Howeve...
Mike A
1

votes
2

answer
2.2k

Views

deserialize dynamic object

I am having a lot of trouble trying to figure out how to deserialize my response from making calls to facebook api. my c# code looks like this: FacebookClient client = new FacebookClient(); string path = "SELECT message, type, attachment FROM stream WHERE source_id = " + fbid.ToString(); dynamic re...
Scott Selby
1

votes
2

answer
5.2k

Views

How to Integrate facebook login in phonegap application

I am creating an android application using phonegap, have tried installing plugin like InAppBrowser etc, but nothing is working for me, I have created AppID and App Name in Facebook developer account, Here is the link i have followed https://www.sitepoint.com/how-to-integrate-facebook-login-into-a...
arun
1

votes
1

answer
210

Views

Why follower_count insight metric returns the number of new followers of a given day, instead of Total number of unique users following?

It seems there is a bug in the definition of folower_count insight metric in Facebook graph API for Instagram Business Accounts. your_instagram_business_account/insights?metric=follower_count&period=day https://developers.facebook.com/docs/instagram-api/reference/user/insights They wrote that this...
1

votes
2

answer
128

Views

What choose Instagram Graph API or old API

I wonder if it is possible to use a new Instagram Graph API only for hobby purpose(small java application). The main aim is to process only user's data that is currently log in on instagram(not other's user data). Generally I'm a beginner on this field and I try to determine my chances for writing t...
MSZMC
2

votes
3

answer
135

Views

React Native Overflow Touchable is Not Working in Android

Please have a look at my Expo Snack. Dropdown items are touchable in iOS but not in Android. Fixed container's height (grey box) causes this issue but I need to keep the fixed height for my toolbar. I have tried using react-native-view-overflow package but no luck. It requires react-native link, mea...
Jeaf Gilbert
1

votes
0

answer
9

Views

Facebook javascript api calls stopped being sent

We have a website using Facebook login. 4 days ago, without performing any change, the login button stopped functioning. The call to FB.init works well using: function initFB() { FB.init({ appId: ufm_config.fbAppId, cookie: true, oauth: true, xfbml: true, logging: true, autoLogAppEvents: true, frict...
adi ohaion
1

votes
2

answer
6.4k

Views

How to convert iso-8601 timestamp to MySQL DATETIME

I've searched for this conversion and have found the opposite. I'm pulling facebook page feeds using the graph api and the date format it gives is iso-8601. I need to convert that to mysql timestamp to add it to my database. Most search results provide mysql to iso. Can I get a direct conversion o...
Fabian Glace
1

votes
2

answer
86

Views

AeroGear for iOS Facebook configuration

I inherited an app, and I am trying to understand the exact configuration differences between what Facebook wants and what is currently implemented. In working to create a great Platform experience for everyone, we ask developers to ensure the apps they build comply with our Platform Policies. Your...
Andrew Alexander
2

votes
0

answer
84

Views

App review is required to get Facebook Webhook working. How to develop?

I'm developing an app which must interact with Facebook API Graph and also use webhooks to get live updates. Now I'm facing a problem I can't receive a live webhook updates until my app is reviewed and is not in development mode. I've found a thread on a Fecebook for developers site describing the s...
Olegas
1

votes
1

answer
324

Views

FB UI; I Can't post dialog without 'Say something about this'

I am having trouble with FB UI and its JavaScript SDK feed dialog. I Can't post on wall message with an empty 'Say something about this' field. I receive a success response after my send, but the message is not displayed on the wall. If I write something in that field, the dialog will be displayed....
Sergey Belyakov
0

votes
0

answer
3

Views

How to get comments of photos in which a user is tagged from FB Graph API (v3.2)?

I've been digging around the FB Graph API to no avail. Here is the situation: User 1 has posted a photo, tagged User 2, and commented on the photo User 2 approves the tag, then comments on the photo as well In the Graph API, this request works fine: me/photos/uploaded/?fields=comments&limit=1 - note...
Jona
0

votes
0

answer
2

Views

How to get an active access token from Facebook's Graph API using python interface?

I'm a newbie trying to maintain a proprietary analytics platform. The access token for the Facebook API has expired. How can I get a current access token? In scripts I can see listed app_ids, app_secrets, and app_tokens. I assume the token here is the issue. Can I do this in python, or do I need to...
Anne
1

votes
1

answer
2k

Views

Open link with facebook app in android

Please see the two links below. When pasted in Whatsapp, first one opens with Facebook app, but the second one opens with browser. Opens in Facebook app: https://m.facebook.com/SriSwamiji/posts/1099353043449548:0 Opens in Browser: https://www.facebook.com/SriSwamiji/photos/a.186720728046122.67368.1...
Venkat Kotra
1

votes
1

answer
673

Views

Scraping facebook

I need to quickly get the names of about 1000 users that I now only have the facebook id and access tokens of. I'm not comfortable with the FB api yet so I was considering just writing a scraper to retrive the name from the FB page of the user (since I have the id of the users). Is this allowed? I...
Andy
0

votes
0

answer
13

Views

How to handle Facebook SDK native window closing

I'm using Facebook SDK in my unity3d mobile game. Testing Facebook SDK on Iphone and Android devices works different. When I call FB.Init() it creates and display new window on top of my application. 1) When I press the IPhone go to desktop button, and then press my application's icon, the Facebook'...
KamikyIT
1

votes
1

answer
2.5k

Views

Get Facebook user's details and big profile picture in one call

I can get in one call /me details including picture, email, name. But URL returned is of an extremely small picture (50px*50px). I know I can make additional call to get bigger image with something like: .../me/picture?width=999 But is it possible to combine it with: https://graph.facebook.com/v2.5/...
gdoron
1

votes
3

answer
844

Views

Drupal 8 - Social Login

Is there any free social login modules (for twitter and facebook) available for drupal 8? I have checked OpenID Connect module, but it does not support facebook and twitter logins. Please advice, if there are any stable modules available for this. Thanks,
Achu
1

votes
1

answer
297

Views

Facebook analytics for apps get gender and age

I just started using Facebook Analytics for Apps and everything is looking great, I'm logging events etc, but still not getting age and gender data, no matter if the user logs or not. I've searched the documentation for some rule or best practice, but no solution so far. Let me know if I'm missing s...
Daka Strashilov
1

votes
1

answer
408

Views

How to specify facebook scope with div login button?

The example at https://developers.facebook.com/docs/facebook-login/web, shows: But when getting the code just above that for the button, the buttons is a div so there is no scope attribute.. So how do we specify permissions now?
markmnl
1

votes
1

answer
1.1k

Views

Python Facebook graph API post URL with preview

I am trying to post a link on my facebook wall using Graph API. When I manually put URL in "Write Something" textbox, it shows a preview for URL and post it as well. I tried posting same URL via graph api import facebook graph = facebook.GraphAPI(access_token) graph.put_wall_post("http://www.chan...
pratibha
1

votes
1

answer
551

Views

secure path for serviceAccountKey.json for a Firebase project in Google App Engine Node.js app

I have a Firebase project that users share some content with consists of media and text. For Facebook to handle links properly shared content must have a pre-populated page (dynamically created on the server-side, not on the client with Firebase JS API). So, I have decided to use Google App Engine (...
onrtkn
1

votes
1

answer
711

Views

Mongoose User model for handling local and social auth providers

So I am working on an Express (with Mongoose and Passport) app and I want to include facebook as an authentication method. I have already done it and it works but I don't think I have a proper User model to handle the authentication process for multiple social providers. I want to merge the differen...
Codearts
1

votes
2

answer
66

Views

How to integrate `React Native SDK` provided by Facebook in our application?

I want to integrate React Native SDK in my app. I have followed guidance provided on site. But when I run my app it gives error like : And also I have check that frameworks is added or not then frameworks are added but they are displayed like : What is going wrong ? I tried same as giving in tutoria...
VRAwesome
1

votes
3

answer
716

Views

Facebook SDK Objective-C trigger event after login

I'm new to IOS Application Development and this is the first time I've integrated the Facebook SDK into an application. I'm using my initial view controller to authenticate the user via the Facebook SDK and redirect him to another view controller once he is authenticated. Additionally, once he click...
Radu Bucur
0

votes
0

answer
4

Views

Graph returned an error: (#200) Requires leads_retrieval permission to manage the object

I have an application where I want to retrieve leads from facebook page lead gen forms. I have already app setup having the permission leads_retrieval approved by facebook. When I am trying with the account where the app is created I can retrieve leads successfully. But when I am trying with any oth...
Subhadip Sahoo
1

votes
1

answer
732

Views

Link Phone Number with Facebook and Gmail account in Firebase on Web

I'm creating a web app in React with firebase services. I have Google and Facebook login on the login screen and after login user gets an option to link their phone. I use Firebase Phone Auth for this. The user is already signed then they Auth using the phone. I want to Link Phone Auth user object w...
Raman Choudhary
0

votes
0

answer
4

Views

Data Access Expiration for standard permissions

I just need to ask a question about this new Data Access Expiration. Our App uses following permissions: manage_pages, publish_pages, email (standard), public_profile (standard). This page https://developers.facebook.com/docs/facebook-login/auth-vs-data/#data-access-expiration describes the first...
Georg Konrad

View additional questions