Questions tagged [facebook]

34738 questions
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
1

votes
0

answer
354

Views

Embed Facebook Customer Chat Plugin without creating a Facebook app

It seems in order to embed Facebook Customer Chat Plugin, dev has to create a custom Facebook app to act as hook receiver to be called from the embed. The flow is somehow this way: Embed on browser ---custom app id,page id---> Custom web server ---page access token,text response--> Facebook Messenge...
datdinhquoc
1

votes
1

answer
962

Views

How to implements Facebook's Comments Plugin in React Native app?

I'm trying to load the facebook's comments plugin in React Native app, like an image below : Is it possible ? How to implements Facebook's Comments Plugin in React Native app ?
RobbyWH
1

votes
0

answer
148

Views

How do you use a Facebook token to create a user in a Cognito User Pool, as depicted in AWS demo slides?

Amazon Web Services provided the following slides to explain some of the features of AWS Cognito. The slide below purports to show that you can get a Facebook token from Facebook login, and use that token to authenticate a user (or presumably create a new user) in a Cognito User Pool, which will in...
CodyBugstein
1

votes
0

answer
78

Views

User got access to oauth token? than how to secure it?

Currently we are looking to develop oauth authentication for my API. So basically our UI will be in reactjs which will show TV Grid schedule using nodejs API At backend which will return JSON. We will handle UI changes via ajax. On ajax or on page load we will call API to display TV Grid. So we want...
Bhushan
1

votes
0

answer
141

Views

How to share bitmap with text and url on facebook?

I tried different techniques but some one sharing only image on facebook and some sharing only text or textwith url using SharePhoto but no one sharing local image like bitmap,description and url at a time.May be I am doing wrong.I am stuck from one day if any one know about it then please give me s...
humayoon siddique
1

votes
0

answer
39

Views

How do I properly test share functionality using Facebook's web hosting?

I am developing an HTML5 game for the Facebook platform. I am using Facebook's Web Hosting product to host the game and I have created a test version of the app to see if it works properly on Facebook. Despite having added the open graph meta tags to the games HTML code, when I test the game and try...
Max Knoblich
1

votes
1

answer
415

Views

Messenger “Get Started” button doesn't start conversation

The button is added to the messenger. When a user clicks it, 'Get Started' message pops up. Nothing happens after that Bot never posts the message back to 'Get Started'. No webhook is triggered. Button remains in the same spot. It disappears only after messenger page reloads or when click to another...
Animus
1

votes
1

answer
385

Views

Batch create campaigns via Facebook ads API with Python?

I'm trying to build an API tool for creating 100+ campaigns at a time, but so far I keep running into timeout errors. I have a feeling it's because I'm not doing this as a batch/async request, but I can't seem to find straightforward instructions specifically for batch creating campaigns in Python....
Alia
1

votes
0

answer
308

Views

What redirect url is used for react-native-fbsdk?

I am building an app with react-native and currently I’m implementing react-native-fbsdk login. All seems good, but I want to reuse returned facebook token in java back-end by calling java rest controller passing returned facebook token parameter. When I make request from java to url https://grap...
Aurimas Steponaitis
1

votes
0

answer
663

Views

Facebook sharer.php redirect url

I'm using Facebook sharing using sharer.php redirection. Upon clicking on share button, i'm redirecting to https://www.facebook.com/sharer/sharer.php?u=http://google.com It opens the proper sharing page. But how do i redirect back to another url after share or cancel ? Can't find the apt parameter....
Abhay Srivastav
1

votes
0

answer
196

Views

Can one application have two facebook app id with two different fb account?

I have published one application which uses facebook login. I have created facebook developer account and get app id for my application and it was working fine. Its been a year I have released my application on google play. But now I am not able to access my facebook account. I am facing this error...
Krishna
1

votes
0

answer
92

Views

Facebook Structured Message (Template) in conversation api

I'm working on linking a Messenger Bot with a Inbox Manager App. Inbox Manager App need to get old messages from /conversation API https://developers.facebook.com/docs/graph-api/reference/v2.11/conversation/messages to display old messages. However, I can't find proper data to display it. Example: 1...
Nguyễn Huy
1

votes
0

answer
282

Views

Swift Firebase Facebook Login - Gets Name, but email returns nil

Recently my facebook login hasn't been working. It doesn't save into my database but in Firebase authentication it shows someone signed in with facebook but the email is blank. It doesn't save any data to my database which it should. The email is returning nil. My google sign in works. I've checked...
Lukas Bimba
1

votes
2

answer
459

Views

In Facebook Marketing API, how can I get the estimated audience size with a combination of demo conditions?

In Facebook Marketing API, how can I get the estimated audience size by a combination of demo standard? Which endpoint should I use and how to write the html get request? For example, I want to know how big is the audience size of people who live in US, age between 14-35, female, interest in {baseba...
Christine Chan
1

votes
1

answer
33

Views

Can not sign in with Google and Facebook with Release Apk

I am working with android application which contain sign in with google and sign in with Facebook , in the debugging mode both worked fine but after making release Apk and upload it to play store , both of Facebook and Google does not work . I did the Following steps : 1-i generate my new certific...
Ahmad Sabbagh
1

votes
0

answer
785

Views

Firebase facebook signInWithRedirect not redirecting to specified page on login success

I am using Firebase's facebook signInWithRedirect but can't figure out why my application won't navigate to the specific page on redirect and instead it just returns back to the home page. I followed the steps on https://firebase.google.com/docs/auth/web/facebook-login and believe I have setup every...
user3892254
1

votes
0

answer
91

Views

Get the href configured in the comments plugin from the facebook webhook callback

I'm trying to retrieve the href attribute configured in the Facebook comments plugin from the plugin_comment webhook, in that way I can know the comment origin and trigger a notification to the owner of the content where the comment was made. I've reviewed the facebook documentation of the comments...
1

votes
0

answer
156

Views

FB Pixel: how to ignore test events when optimizing targeted ads?

I'm new to Facebook pixel and analytics. I wanted to install FB Pixel to increase ads performance, and while testing I sent some fake events. If I understood correctly, when FB optimizes(i.e., increase sign up) ads using Pixel, it does the following: Find which users signed up so far Analyze demogr...
Hwidong Bae

View additional questions