All Questions
109
questions
1
vote
0
answers
108
views
Facebook persistent menu not showing in Messenger (chat bot)
I'm trying to develop Messenger bot on NodeJS, that would:
Create persistent menu
Postback message replies
The issue I'm facing is that the persistent menu only showing for myself (on Desktop and ...
1
vote
0
answers
44
views
How to loop through array first and check and only execute else condition if all if conditions are false
{
created_time: '2022-04-15T04:51:32+0000',
message: 'Chapter 31 of BJ Archmage is out\n',
id: '××××××\'
},
{
created_time: '2022-04-15T04:49:43+0000',
message: 'Chapter 35 of ...
-1
votes
2
answers
371
views
Can we access chrome storage where images are stored temporarily?
I am working on a chrome-extension using Js, I want to post image automatically at my wall without using mouse etc., .
I tried different method, I use to click photo upload button(which on top of the ...
8
votes
1
answer
724
views
Is facebook suddenly safe against JSON hijacking?
It is well known that Facebook uses javascript responses (JS,not json) which is prefixes with while(1) & for(;;); in order to prevent script tag to steal the json data when old browsers are being ...
2
votes
1
answer
505
views
Creating Facebook Website Audiences Returning JSON Error
I'm trying to write a node.js script to create a set of Facebook audiences based on URL structure, but I'm getting the below error and I can't seem to identify what is wrong with the JSON I'm sending:
...
2
votes
1
answer
2k
views
Convert Facebook json file sequences like \u00f0\u009f\u0098\u008a to emoji characters
I have downloaded my Facebook data as json files. The json files for my posts contain emojis, which appear something like this in the json file: \u00f0\u009f\u0098\u008a. I want to parse this json ...
0
votes
1
answer
2k
views
Facebook Messenger bot, can't get page_messaging_subscriptions permission and get error
I developed a dating application bot on Facebook Messenger. In my application, when a match between men and women is established, a notification is sent on messenger by bot. But, when bot sent message,...
0
votes
0
answers
55
views
How Can I get users likes?
I'm trying to build an API using facebook Graph, where I have a text field that I use to enter a facebook profile link, for example: www.facebook.com/id_of_a_user/likes
and when I press a buttom ...
4
votes
0
answers
1k
views
advantage application/x-www-form-urlencoded over application/json
Looking at Facebook, Google, Twitter's POST requests. They all use application/x-www-form-urlencoded as content-type to send their request. (Ex: when you like a status on Facebook).
Why don't they ...
1
vote
1
answer
875
views
facebook messenger Webview and Messenger Extensions
I am using JSON which is node.js for Facebook Messenger. What should I do if I want to do exactly the same as image above or this link:
https://developers.facebook.com/docs/messenger-platform/...
0
votes
1
answer
51
views
getJSON fails when i try to load user JSON [duplicate]
I have made a chrome extension for facebook, for private liking. What I want to do is, whenever someone posted a post, and a person clicked the private like button, which has been included by me. On ...
1
vote
1
answer
108
views
Need to pull Graph API JSON and successively narrow my results
Need to pull from the end point "fb_page_categories" which returns an array of all categories a page could fall under. Which looks like so:
GET graph.facebook.com
/fb_page_categories?
This returns ...
0
votes
0
answers
72
views
Nested JSON Response coming back as [Object] using FB.API?
I know this is something really simple but for the life of me I can't figure out how to parse out the next level json request from this bit of javascript I'm writing in Node.js using the Facebook API. ...
0
votes
1
answer
122
views
Convert integer time facebook message time - javascript
How to Covert This time to date time like " 08:45 PM "
json time code
{"time":1480797244,"short":false,"forceseconds":false}
i need covert this time (1480797244) need idea in jQuery or javascript
0
votes
0
answers
58
views
jQuery-Trying to emulate a simple Facebook info and feed page through Facebook Graph API
Im trying to emulate a simple page which includes facebook info like username, email etc. I'm not able to obtain the user's posts from the json received. Tried various methods like making the feed a ...