facebook-graph-api

Facebook api retrieve posts from a buy and sell group

走远了吗. 提交于 2021-02-19 06:29:26
问题 I have looked all over the internet and have not found an answer. I admin a buy and sell group on facebook and am querying the group/feed through the facebook graph api. If I post in the group as a 'discussion' post it shows up in the query results, but anything I post as a 'buy/sell' post does not come through in the query results. Is there anything in the graph API for querying buy/sell posts in a group? 回答1: I have same problem now. Before query with field 'feed' gave me all type of post

Facebook Graph API not working on UrlFetchApp

不想你离开。 提交于 2021-02-18 19:00:53
问题 I run a query on Facebook Graph API Explorer successfully but when I run the same query on Google Apps Script with UrlFetchApp I get an Error - Invalid argument . The query is this: https: //graph.facebook.com/v4.0/act_1015703131******/insights?fields=spend&level=account&date_preset=yesterday&filtering=[{field:campaign.name,operator:CONTAIN,value:perf},{field:adset.name,operator:NOT_CONTAIN,value:rmk}]&access_token=******** When I run the same query without filtering it works as expected!

How do I/Can I create a Facebook app for my company without using my personal Facebook account? [closed]

允我心安 提交于 2021-02-18 03:46:43
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Improve this question My question is similar to this, but I'm writing from a developer's perspective rather than the company's. I prefer to keep my personal and professional lives separate, and thus would like to be able to create Facebook apps not tied to my personal FB account. Per

How do I/Can I create a Facebook app for my company without using my personal Facebook account? [closed]

血红的双手。 提交于 2021-02-18 03:46:05
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . Improve this question My question is similar to this, but I'm writing from a developer's perspective rather than the company's. I prefer to keep my personal and professional lives separate, and thus would like to be able to create Facebook apps not tied to my personal FB account. Per

Upload email list to Facebook via API

↘锁芯ラ 提交于 2021-02-17 06:22:06
问题 I need to send or create the list of user emails to our business facebook account as an audience list ,so that we can use it for our marketing purposes(I'm using Python 3.8). Below is the code which i got from Google, But when i searched i found that we cannot directly pass the emails to Facebook via API. Do you have any suggestions on how to achieve it ? Also "can i pass email ID's to this list "fields = [] in the below code ? AND what does the "ID" means ? from facebook_business.adobjects

When the user_link permission is requested from Facebook, GraphRequest.newMeRequest() returns a null object

谁都会走 提交于 2021-02-11 17:00:02
问题 I'm letting Firebase handle login to Facebook in my app, as advised in the Firebase docs: loginButton.setPermissions("email", "public_profile"); When I call GraphRequest.newMeRequest(), I request the user_link permission as follows: Bundle parameters = new Bundle(); // Need special permission from Faceook in order to get this data. Apply after we've settled on a new name for the app. parameters.putString("fields", "id, first_name, last_name, email, gender, birthday, timezone, picture, locale,

When the user_link permission is requested from Facebook, GraphRequest.newMeRequest() returns a null object

时光怂恿深爱的人放手 提交于 2021-02-11 16:58:45
问题 I'm letting Firebase handle login to Facebook in my app, as advised in the Firebase docs: loginButton.setPermissions("email", "public_profile"); When I call GraphRequest.newMeRequest(), I request the user_link permission as follows: Bundle parameters = new Bundle(); // Need special permission from Faceook in order to get this data. Apply after we've settled on a new name for the app. parameters.putString("fields", "id, first_name, last_name, email, gender, birthday, timezone, picture, locale,

Can I get a facebook access token from firebase.auth().currentUser?

安稳与你 提交于 2021-02-11 12:15:06
问题 First after I login facebook via firebase auth as below let provider = new firebase.auth.FacebookAuthProvider() firebase.auth().signInWithPopup(provider).then((result)=>{ console.log(result) }) I found a facebookAccessToken (which I will use for graphAPI) in result but after I refresh a page , when a page did mount I call a function as below let currentUser = firebase.auth().currentUser console.log(currentUser) I can't found a facebookAccessToken in currentUser Can I get a facebookAccessToken

Why does the Facebook API use POST for updating records?

末鹿安然 提交于 2021-02-10 23:46:27
问题 For example: https://developers.facebook.com/docs/graph-api/reference/v2.1/page/locations Coming from a Rails/REST background, I was under the impression using PUT or PATCH for updates was best practice. So I'm wondering, why did Facebook just use POST for updates? Is it because it's just simpler to have POST and GET, rather than 4 or 5 different HTTP methods? Or is it because they're supporting some devices that only have those? Or are they planning to move to using PUT/PATCH? Any ideas? It

Why does the Facebook API use POST for updating records?

爱⌒轻易说出口 提交于 2021-02-10 23:45:00
问题 For example: https://developers.facebook.com/docs/graph-api/reference/v2.1/page/locations Coming from a Rails/REST background, I was under the impression using PUT or PATCH for updates was best practice. So I'm wondering, why did Facebook just use POST for updates? Is it because it's just simpler to have POST and GET, rather than 4 or 5 different HTTP methods? Or is it because they're supporting some devices that only have those? Or are they planning to move to using PUT/PATCH? Any ideas? It