Skip to main content

Questions tagged [facebook-fql]

Facebook Query Language (FQL) enables you to use a SQL-style interface to query the data exposed by the Graph API. It provides for some advanced features not available in the Graph API such as using the results of one query in another.

0 votes
0 answers
31 views

Fauna DB - Create Document with ref to Document of same type failed - One-to-many

I'm trying to create a new Document with a ref to a Document of the same type (Content sites, which can have childrens or parents of each other). I'm getting the following error message: description: '...
devHead's user avatar
  • 21
0 votes
1 answer
164 views

FaunaDB get document stored with foreign key

I've created two tables in FaunaDB, "customers" and "orders". I created an Index, to get a document by a data.transactionObj.transactionId. So far so good, but how can I extend the ...
CradleToCradle's user avatar
0 votes
1 answer
76 views

Fauna delete first item from intersection

I have a fauna db query that will return one match due to the combination of fields being unique: await faunaClient.query( Intersection( Match(Index('tokens_search_by_blacklisted'), false), ...
OultimoCoder's user avatar
0 votes
1 answer
247 views

Fauna: Select from pure JS

I'm interested in using Fauna from browser from pure JS in read-only mode. Either official documentation lacks understandable information for this case or I can't figure it out. Please help me to ...
Fohroer's user avatar
  • 77
0 votes
2 answers
129 views

Remove a child object in Fauna DB

I need to remove a child object in FQL. Let me demonstrate with the following example: { "1": { "name": "test" }, "2": { "name&...
FilipToth's user avatar
  • 147
0 votes
1 answer
412 views

How do I loop over an input array using a UDF in FaunaDB?

I have a question about mapping an array of ID's (inputdata) and returning all related documents to those ID's. I have a UDF set up to retrieve the documents for a single ID and was hoping some ...
floydianslips's user avatar
1 vote
0 answers
42 views

Best way to access information about all events near a specific latitude and longitude?

So I've been trying to figure out the best approach to this. I looked into Facebook Events and got some conflicting ideas. It seems like you used to use FQL to get events near a coordinate quite ...
nickcoding2's user avatar
1 vote
2 answers
480 views

How to search for partial match using index in fauna db

I have a faunadb collection of users. The data is as follows: { "username": "Hermione Granger", "fullName": "Hermione Jean Granger", "DOB":...
Prabodh's user avatar
  • 175
0 votes
0 answers
31 views

Is there any way to still use FQL with Swift?

I was wondering if there was a possible way to use FQL with Swift. I've tried to look through the graph api and wasn't able to find the functionality that I needed. I'm basically trying to get all the ...
Kevin Yao's user avatar
  • 107
1 vote
2 answers
733 views

How to transform queried data to an array FaunaDB typescript?

I could display the result of my pagination query (FaunaDB,FQL) in the console and it appears as a javascript object. Yet, I cannot access the properties of said object and even less can I convert it ...
Samuel Nihoul's user avatar
1 vote
2 answers
733 views

Faunadb how do I paginate an index sorted by Timestamp

I created an index on faunadb to sort by the time stamp in order to get the most recent items first, and I am trying to retrieve 100 items at a time. My problem is that when I enter the "after&...
Fabricio Policarpo's user avatar
0 votes
2 answers
284 views

Faunadb after returning the same entries as the original ones

I am creating a pagination on scroll using faunadb and vuejs. To achieve the pagination, I am passing the ref of the last entry from the original response, and doing a query using after, For some ...
Fabricio Policarpo's user avatar
1 vote
1 answer
937 views

FaunaDB FQL - No form/function found, or invalid argument keys: { params }

I'm learning FQL and trying to do a mass update, but I can't figure out what I'm doing wrong, nor can I really figure out what the error is really pointing to. Here is my code: const updateResult = ...
Ivan's user avatar
  • 1,143
4 votes
3 answers
644 views

Reverse data from Fauna DB

I have been looking at the docs indexes for FQL and Fauna DB. Is there a way to reverse the order of the data returned from the query? Here is the code I have: q.Map( q.Paginate(q.Match(q.Index("...
Tithos's user avatar
  • 1,279
0 votes
1 answer
497 views

Is there any way to submit a FB app for review while it in "Live Mode"?

so I made a web based FB app. submitted it for review because I need 3 more permissions (not the basic one) for new functions that I want to add in my site (Which is very active). I submitted it for ...
Dima Ciun's user avatar

15 30 50 per page
1
2 3 4 5
203