Questions tagged [facebook]

34756 questions
2

votes
0

answer
9

Views

Update Facebook SDK issue

I use Facebook SDK login feature. In console written 'Your Facebook SDK is out of date. We recommend upgrading to the latest Version 4.37.0, to ensure your app's performance is not affected and to take advantage of our newest features!' I updated SDK pods to 4.4.1, but this warning still there. Any...
Artyom Vlasenko
1

votes
2

answer
2k

Views

Retrieving facebook user access token with socialite on laravel 5.4

I am trying to get user access token so I can send CURL request through Guzzle to Facebook's Graph API to get user's friends that are using the app. But I can't seem to be able to obtain it. Here's my controller:
Mihail Pernichev
0

votes
0

answer
4

Views

Is there other way to retrieve `code` URL parameter value provided by facebook web login dialog?

I am trying to implement custom facebook login flow with some custom 3rd party backend system that requires the code that's returned by facebook's web dialog login via the callback's URL parameter (e.g. https://calbackurl.com/?code=AsdadqwdDAWDASDwdACASdASd) to be sent over to their end (the 3rd par...
Kawi
1

votes
1

answer
501

Views

Could not build module 'FBSDKShareKit'

I'm upgrading some pods, namely to support ParseLiveQuery. I'm now running into an error in one of my header files Could not build module 'FBSDKShareKit' Also in my errors: Podfile: source 'https://github.com/CocoaPods/Specs.git' platform :ios, '10.3' inhibit_all_warnings! use_modular_headers! work...
Zack Shapiro
1

votes
1

answer
146

Views

Check shared Post on Facebook Successfully or discarded

Facebook SDK always call onSuccess(Sharer.Result result) after discarding the post. I am using the share post of the Facebook SDK, but always call onSuccess listener even after the discard or cancel the post. I am using this facebook SDK for share the post implementation 'com.facebook.android:facebo...
Amit Verma
0

votes
0

answer
15

Views

Facebook API v3.2 connection issue with Rfacebook package in RStudio

I'm connecting to Facebook API v3.2 in order to get my friends information. I had the following error: Invalid Scopes: user_relationships, publish_actions. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid...
ftakelait
1

votes
2

answer
31

Views

More than one file was found with OS independent path 'lib/armeabi-v7a/libRSSupport.so'

I am getting this error after including shimmer layout to my android project. I tried editing my packagingOptions in my build.gradle (Module: app) but it did not work. packagingOptions { exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/LICENSE' exclude 'META-INF/LICENSE.txt' exclude 'META-INF/licen...
David Kariuki
0

votes
0

answer
3

Views

How to add a facebook-like button in a responsive website?

I am working on a new version of our website, based on a commercial framework (Aspdotnetstorefront) with a responsive template. We have a few pages where we want to include a Facebook 'like button'. I tried to use the same code we have in our current site in the new responsive version but it's ruini...
Yan Kleber
1

votes
0

answer
9

Views

Facebook login for Swift 4

I'm trying to install facebook SDK using swift 4 (xcode version 10.1) and it doesn't work. The error says 'SWIFT_VERSION '5.0' is unsupported, supported versions are: 3.0, 4.0, 4.2. (in target 'FacebookCore')' 'SWIFT_VERSION '5.0' is unsupported, supported versions are: 3.0, 4.0, 4.2. (in target 'F...
Ignatius Ivan
1

votes
1

answer
2.6k

Views

Get attribute using PHP Selenium Webdriver?

i am trying to get an attribute and store it in a variable using PHP Selenium Webdriver (Facebook wrapper) This is my code but it gives me error below: $attr= $driver->findElement(WebDriverBy::cssSelector('.image-e5')->getAttribute('src')); HTML ERROR Fatal error: Call to undefined method WebDriverB...
condo1234
0

votes
1

answer
46

Views

Facebook API Graph. Instagram. How to get user profile picture knowing only username?

I'm implementing webhook subscription to receive notifications about new comments on Instagram media (so, the solution assumes server side environment). Webhook payload contains a comment ID. Fetching a comment node via Facebbok API Graph call I can get author's username. From this point I need to g...
Olegas
0

votes
0

answer
7

Views

OAuth login with facebook?

My App is example.com and want to use facebook(FB) login for authentication/authorization. Per my finding on google, FB uses OAuth2 here. I have one question here on the flow First will register on FB with my webapplication and returning url as example.com. It will generate appId(public key) and app...
user3198603
1

votes
1

answer
1k

Views

Devise + Omniauth-Facebook get user's phone #

I'm using Devise for authentication in my Rails 3.2 app and am having trouble configuring omniauth-facebook to get the new user's phone number. First of all: I'm not even sure that it's possible to get a phone number, so if that's the case and someone knows for sure, I'd be happy just for a confirm...
sixty4bit
0

votes
2

answer
347

Views

API Share count Facebook Graph deprecated?

Since today when I try to get the share count the answer is :share field is deprecated for versions v2.9 and higher. Ex with : https://graph.facebook.com/?id=https://stackoverflow.com&fields=share Without &fields=share the json content is displayed but without the share value. I need to get the shar...
Lorenzo
1

votes
1

answer
99

Views

Microsoft Bot Framework v4: Facebook messenger proactive message unauthorized after bot restart

I've written a bot using the microsoft framework v4 SDK in C#. The bot is deployed in Azure and connected to web chat, direct line and Facebook Messenger channels. The bot works fine for all. Users can subscribe to receive updates proactively. For this I use a stored ConversationReference which is t...
hitcai
0

votes
0

answer
3

Views

Cannot post to group using test user in app

Logged in as Test User to post to group in app while in development mode, but failed. According to this bug report https://developers.facebook.com/support/bugs/374244166706163/ It works only when I'm an admin of both the app and group. To request Groups API permission in App review section, I have t...
Boz
0

votes
0

answer
5

Views

How to enable Facebook Business API for Whatsapp Connection

I am trying to connect my WhatsApp Business Account with Facebook so that it shows my business name. As per https://www.facebook.com/business/help/2087193751603668?helpref=faq_content there shall be an option for WhatsApp Account in business.facebook.com under 'Business Settings' > Accounts. But it...
Nitin Srivastava
0

votes
0

answer
13

Views

Unity Facebook login not works on Facebook App in the Android device

So i implemented Facebook SDK in my project, here the problem is FBlogin not works when i have facebook app in my android device. Please my and my team stuck in this stuff. For more details please replay to this post.
1

votes
1

answer
71

Views

Django: how to mock a user with FB privilegies

I need to check that the content of a template is loaded properly. However, I need a user that has Facebook integration. This is my view: def profile(request, user_id): '''A user's public pledge settings.''' user = get_object_or_404(SocialUser, pk=user_id) # We only want to show profile pages for us...
lmiguelvargasf
1

votes
2

answer
96

Views

Getting likes data (id and name) from JSONArray - Facebook api

i'm trying to get id and name from likes data in the facebook graph api on android: { 'data': [ { 'id': '1433908706707486_917483885016640' }, { 'id': '1433908706707486_910831695681859' }, { 'id': '1433908706707486_906550586109970', 'likes': { 'data': [ { 'id': 'xxxx', 'name': 'xxx' } ], 'paging': {...
ahsen
1

votes
1

answer
41

Views

How to find posts of a facebook page within a certain period of time?

I want to import posts of a page between 07-12-2017 and 10-12-2017. I have converted the dates to unix timestamps. https://graph.facebook.com/v2.11/ekantipur?fields=posts.until(1512926148).limit(125)&access_token=MyAccessToken works and so does https://graph.facebook.com/v2.11/ekantipur?fields=post...
Ashutosh Chapagain
1

votes
0

answer
297

Views

Facebook Chat bot not working for public

I have a chat bot working fine for a single page. My app is currently live and available to the public. I generated page tokens using Facebook Login. But I want to integrate same chat bot with other pages also. I follow below guidelines to subscribe other page in my app. https://developers.facebook....
Danish
1

votes
1

answer
123

Views

Problems sign up to facebook with ruby on rails

when I sign up using facebook my url is http://localhost:3000/registration then it will change to http://localhost:3000/registration#= but it wont let me login that the only thing it changes on that page just the url. Contoller class OmniauthCallbacksController < Devise::OmniauthCallbacksController...
AB74574
1

votes
0

answer
52

Views

What links an account whenever you sign in using Facebook or Google

So here's my question. Say you have a Gmail and Facebook and they both use the same email. Now say you login an app using Facebook. Say you log out and log back in using Google. It should link to the same account from what I've seen. But what happens if you were to change your Facebook primary email...
huey77
0

votes
0

answer
4

Views

How to pre load batch audience native ads in background thread

Tried to load facebook audience network in background thread but it gives me an exception. I have a content feed where I show Ads. I pre fetch the ads using the audience network sdk, however the App becomes slow over time as more ads get fetched when user the scrolls. I tried to fix this problem by...
user11040612
1

votes
1

answer
1k

Views

Open Facebook App via Unity Script on Android?

I want to ask if there is a way to open the Facebook App instead of opening the Site on Browser. Im using Unity with C#. I tried the following Code but it won´t work for me: IEnumerator OpenFacebookPage() { Application.OpenURL('fb://hatchthepokeggofficial/'); yield return new WaitForSeconds(1); if...
Rene Ungerer
1

votes
1

answer
93

Views

Facebook Audience Network NoClassDefFoundError

I'm using Facebook Audience Network v4.27.0. The apk compiles fine using Proguard. Sometimes this crash occurs: java.lang.NoClassDefFoundError: at com.facebook.ads.internal.view.b.d.a (Unknown Source) at com.facebook.ads.internal.view.b.d. (Unknown Source) at com.facebook.ads.internal.view.b.b. (...
activity
1

votes
0

answer
58

Views

php - paginate facebook api

I have using facebook curl to get all feed in a group. The url like https://graph.facebook.com/v2.10/ID_GROUP/feed?fields=full_picture,from,caption,description,message,updated_time,likes,type,source&limit=10&icon_size=16&access_token=TOKEN Then my result when I json_decode this url, and I get an ar...
Nguyen Hoang
1

votes
0

answer
145

Views

Post to facebook page as user using RestFB

I am able to post to a page wall as page admin. But I need to post to the page as a follower(page fan/ user). I am using RestFB api. I am working with Facebook RestFB. I have a facebook page. The following code posts the message as page. FacebookType postResponse = fbPageClient.publish(Constants.PA...
Shanthalakshmi
1

votes
1

answer
1.1k

Views

What is the Facebook Business Manager “BUSINESS_SCOPED_USER_ID”?

As usual the official FB documentation is confusing.. Literally: You need: adaccount_id : the ad account id (in 'act_123' form) user_id : the id of the user to add the role to assign Make this POST call to add a new user as Admin: curl \ -F 'user=BUSINESS_SCOPED_USER_ID' \ -F 'role=ADMIN' \ -F 'acc...
Roberto Belotti
1

votes
1

answer
432

Views

Android Gradle 3 facebook-login:4.29.0 dex merge error Program type already present

Hey I am trying to add the newest version of facebook-login:4.29.0 to my app. In doing so I updated to Gradle 3. I cannot resolve this dex merge. It only happens if I include the facebook-login library. Maybe I did something with the gradle 3 migration wrong? I have a few other facebook libraries th...
StarWind0
1

votes
0

answer
20

Views

Facebook social share popup shrink in iPhone safari when start typing - Javascript SDK

We are using javascript SDK of Facebook for social share. Everything works fine, but in iPhone safari, when a user starts typing, the pop up get smaller and a user can no longer see the text area. The text area gets to hide. Look the image for reference. screenshot of issue
user3714653
1

votes
0

answer
142

Views

Facebook Analytics push campaign creating stopped working

Today getting error each time when I try to create a new in-app push notification campaign. Yesterday it worked fine. Today I am getting error 'Sorry, something went wrong' when I try to save p.s. tried different browsers, machines, clearing cookies, cache etc. Any suggestions ?? screenshot if it...
Arthur Shakhlamjian
1

votes
1

answer
20

Views

How to add an platform Messenger Facebook dynamic

i have an Facebook Messenger application. I want to have an button on my app that user Connect Chatbot to your Page. I cannot find how to do this on Facebook docs but i know that Chatfuel do this.
Vinicius Zilli Pavei
1

votes
1

answer
45

Views

Corona Sdk to get integrated with social networks

I just need your help with regards to allow posting on Facebook and Twitter from Corona SDK, and before posting I need to make sure that the facebook or twitter app is being installed on end user device. Thanks,
MobTech
1

votes
0

answer
210

Views

Admob get a conflict with Facebook`s SDK

After init FacebookSdk manually in my appliction FacebookSdk.sdkInitialize(getApplicationContext()); When i play RewardedVideo of Admob,the app crashed: Here is the crash log 01-05 17:27:47.780 E/AndroidRuntime(32002): FATAL EXCEPTION: main 01-05 17:27:47.780 E/AndroidRuntime(32002): Process: com.vi...
JinWei
1

votes
2

answer
551

Views

getting public_content permission for instagram, it says “applications no longer accepted”

I want to create an app that can let users login and give basic, follower list and public_content permission. The purpose is to get a users basic info along with public info of non authenticated users. The developer website says: 'public_content - to read any public profile info and media on a user...
Meghanaa Aggarwall
1

votes
1

answer
151

Views

Multiple facebook and twitter icons on custom share filter chooser intent in android

I'm using below code to share image on facebook, twitter, google+ and other social apps. Image is uploaded from device's external storage. But when I show chooser there're multipe facebook and twitter icons. How can I restrict to show only one icon? Below is the code. public void customShare() { if...
Bek
1

votes
1

answer
325

Views

Authenticating into Wordpress from an Android WebView

I'm currently working on a hobby project that has 3 main components: an Android app, a Django-rest-framework based backend, a Wordpress frontend The Android app authenticates against the REST API, and also supports logging in with Facebook. There are some sections of the WP frontend I'd like to in...
alxrcs
1

votes
0

answer
330

Views

Accessing FB Business Manager API

I am trying to access FB Business Manager Marketing API to get data on my Ad Set data. The way I went about accessing this is by first creating an app through here: https://developers.facebook.com/apps Should I use something else like Rfacebook? This is how I did it below: I retrieved my App Id a...
nak5120

View additional questions