Questions tagged [facebook]

25436 questions
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
206

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
124

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
321

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
1.9k

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
663

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
838

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
294

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
398

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
538

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
687

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
704

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
712

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
1

votes
1

answer
267

Views

Facebook Page Likes and its information getting API returned empty data

I have seen similar posts on this site, but none has solved my problem, the api version has changed and some endpoints are deprecated. When I use, even the Graph API Explorer I get a response with empty data. // Instantiating the Facebook class $this->api = new Facebook([     'app_id' => $ apiId...
César Dueñas
1

votes
2

answer
560

Views

Identify unique user in Dialogflow V1

So I am testing out Dialogflow and one of the first questions I have is: how does my bot know who it is talking to? I need to identify a user and keep that information for as long as I can. The basic scenario being: User starts his/her first conversation. Chatbot send a fulfillment request to the se...
pop
1

votes
1

answer
107

Views

How to get mutual friends between two users though Facebbok SDK in Swift

I'm getting below response context = { id = dXNlcl9jb250ZAXh0OgGQBzZClTeqLPWlrfXhrRaRW9p9DqJ1JlGbVrKdKTcRs5N3uTiLEv0eodSwGMLnVQ3KHhbYHKxZCHR6j0wwCXfASlTLEvlHo745AGAGMuQ5AgcnIZD; }; id = 1654104691364391; } I'm using below code to get FBSDKGraphRequest(graphPath: "/\(fbTokenID)", parameters: ["...
iOS Lifee
1

votes
1

answer
193

Views

Node js: Automated Broadcast, facebook messenger

I am writing a messenger bot with node js express. I want to broadcast daily messages to my users. To do that, I need to use the following post requests: curl -X POST -H "Content-Type: application/json" -d '{ "messages":[ ] }' "https://graph.facebook.com/v2.11/me/message_creatives?access_token=>...
Rashik
1

votes
1

answer
247

Views

cordova-plugin-facebook4 - Blank Dialog with “Not Logged In: You are not logged in. Please login and try again”

Screenshot Issue facebookConnectPlugin.login dialog shows error in screenshot. The only thing that can be done is selection of the X close-out button which results in the following error: errorCode: "4201" errorMessage: "User cancelled dialog" loginError @ facebook.js:13 What are we doing wrong? Plu...
Lightbeard
1

votes
2

answer
73

Views

How to change type of line in prophet plot?

Facebook's Prophet in R (there's also a Python version) is used to generate time series forecasts. A model m is created by: m
Maksym Moroz
-2

votes
1

answer
5

Views

How to redirect to custom url when shared facebook post is clicked?

I shared a image as facebook post using below code: $linkkk=https://example.com/edited/image.png. $shareUrl='https://www.facebook.com/dialog/feed?app_id=***********&display=popup&caption=testing&link='.$linkkk; But when I clicked on the image post I shared on facebook it shows the image in new tab....
Parashuram
0

votes
0

answer
9

Views

Photos posted by Faceboo API not visible to public

Hi I created a page on Facebook, and used Facebook Graph API to post photos to the page. The post address is like: https://graph.facebook.com/2104798556250663/photos And Post parameters are: message=url_encoded_message access_token=your-access-token url=image_url privacy={"description":"public", "va...
Cal
1

votes
1

answer
7.3k

Views

Decoding json string from facebook graph api explorer in php

I am using the graph api to get the profile picture of my facebook app user to a specified width and height. The url: http://graph.facebook.com/'.$userid.'/picture?width=180&height=220 This will return something in json like { "data": { "url": "https://fbcdn-profile-a.akamaihd.net/hprofile-ak-frc1/c...
user2599068
1

votes
3

answer
705

Views

Facebook login link works but not the login button, any ideas why?

I'm trying to create a php page where the user can login and then like my page. If I use the login_url in a block, it works great. However I'd like to use the official facebook login button, particularly because it allows the locale to be passed in, and then it will be localized to the right langu...
swinefeaster
0

votes
0

answer
4

Views

Make og:video play inline whatsapp and facebook

Is it possible to add OG:video data to the head of a website so that whatsapp and facebook can play the video inline? I have currently only seen this working with youtube and instagram links. Whenever I copy the whole meta data from a working instagram post and paste it into my document the facebook...
Matthias
1

votes
3

answer
102

Views

Iterate through JSON respone Facebook Graph

Im trying to iterate through a returned response from the Facebook Graph api def get_feed uri = URI(FACEBOOK_URL) response = HTTParty.get(uri) results = JSON.parse(response.body)['data'] puts formatted_data(results) end def formatted_data(results) return unless results formatted = results['data'].ea...
Richlewis
1

votes
2

answer
1.3k

Views

How can I get a list of friends in Facebook app?

Hy, I'm need to get a user's friends (Name, unique ID, profile pic). Graph api v2.0 does not allow that if I'm know it well. Is there any workaround, or solution, to get the necessary data? I'm working with PHP SDK. Thanks, Dave.
Dávid Pörös
1

votes
3

answer
150

Views

Is it possible to determine the @Facebook.com email address of a user?

Is it possible to figure out reliably what the Facebook email of any Facebook user would be? I know earlier this was not possible because not all users had a username. But I believe that has changed since... I'm trying to figure out a way to let a user send a direct message to their friend through...
Prabhu

View additional questions

Смотреть фильмы онлайн бабушка легкого поведения 2 фильм бесплатно