I have the fql query as shown below.
Select uid,profile_url,pic_square from user where name="Ershad"
here i am getting a response as below.
xml version="1.0" encoding="UTF-8"
fql_query_response xmlns="http://api.facebook.com/1.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" list="true"
But i want all the list.All the details uid,profile_url and pic_square.
Please anyone help me out..
When you get a return result like that, it means that there was no data returned that matched your query. I can immediately think of two things that would cause this:
There is no user named "Ershad" that has your application installed. Note that the name field is a full name search, so you'll need to put the person's entire name in there.
You are querying with the wrong application API Key
I would suggest you try your query in the API Test Console. Select your application, then choose "fql.query" from the Method drop-down, and try your query there.
Related
I am getting an exception when I am trying to update an existing work item description with a link of SharePoint file in power automate. This SharePoint file had been created when an email with the attachment was received.
Please have a look at the flow and exception below
Can anyone please help me understand the issue?
Thanks,
Bee
It looks like you entered a wrong variable for the field Work Item Id. The field Work Item Id for step Update a work item should be the id of the work item to update.
I saw you set the field Work Item Id to variable {x}workItemUrl. If variable workItemUrl is not the work item id. The automate flow will fail with above error.
You can also check the log to see if the values you specified in the fields are correct.
I have a Firestore collection that I'm trying to query. The query generates an index error along with a URL to fix it. The URL looks something like the following:
https://console.firebase.google.com/project/[project-id]/database/firestore/indexes?create_index=EgV1c2VycxoPCgtpbnN0aXR1dGlvbhACGgwKCGxhc3RuYW1lEAIaDQoJZmlyc3RuYW1lEAIaDAoIX19uYW1lX18QAg
When I copy and paste the URL into a browser, I get a Firebase (not Firestore) logo that appears like a butterfly, and then the screen goes blank. When I look at the browser console, I get an uncaught javascript error, actually a whole error object, though this part of it seems most relevant:
"Requested entity was not found"
Meanwhile, when I decode the url's "create_index" key, I get the following:
users
institution
lastname
firstname
__name__
In this list, "users" is the collection, while institution, lastname, and firstname are fields of users. I believe these fields all appear in the collection -- save '__ name __' -- so I'm not quite sure which requested entity isn't found.
Any tips?
Many thanks.
Found many examples on simple API queries but nothing close to what i want.
I have my space key and page ID, this is my table
How can i append hyperlinks, and attach a file in cell 3 for each build using REST API.
get the page : add expand=body.storage as a query parameter to get the body.storage.value which holds the html tags. Then parse the get response to edit the specific value in the 's then when updating the page update the body.storage.value withing your json like in the example: https://docs.atlassian.com/atlassian-confluence/REST/latest-server/#content-update
I am using the Facebook Ads API to try to filter out specific action target ids using the follwowing call:
(account-id)/reportstats?date_preset=yesterday&data_columns=["action_target_name","adgroup_id","adgroup_name","spend","actions","adgroup_objective"]&actions_group_by=["action_target_id", "action_destination"]&filters=[{"field": "action_target_id","type": "contains","value": 'insert id'}]
Every time I try to put in a specific ID, I get an empty data set back. Whenever I change the type to "not_contains", I get every piece of data returned. I've also tried the same with action_destination, but it keeps saying value needs to be numeric even though it a string.
It definitely seems like you can filter by action_target_id because when I tried to filter by something random, it told me that filter doesn't exist.
Can anyone help me please?
Unfortunately these values are nested under the actions fields of the results and filters only work on top level field values.
I would like to get work place information of a user using FQL.
When I use the Graph API and get the User object, it contains work information, which is essentially a list of the work history. The list elements contain nodes of employer, location, description, etc...
The nodes appear to be pages internally. If I take the id of a node, e.g. from the employer, and use FQL to query a page with that page_id, I do get an object with corresponding information.
My question now is, how do I use FQL to get the same information without accessing the Graph API? What table stores the work-related information, for example how do I find all the page_id of the employers of a given user?
The reason I insist on using FQL only is performance. Of course I could access the Graph API for all the users in question and get the info that way, but I'm looking for an FQL-only solution.
You can get this information from FQL. Read the "user" table and look for the work field. The JSON data returned should be the same format as the one for Graph, i.e., the result is an array and each result should include an "employer" object with an "id" and "name" field.
You will need user_work_history or friends_work_history to access this field.