Microsoft Graph People API - Topic Search - microsoft-graph-api

Can you let me know how a Topic search works in People API?
Is this query correct:
https://graph.microsoft.com/v1.0/me/people/?$search="topic: microsoft"
I'm not getting relevant results.
Can someone help me on this?

Related

How to integrate keyword search function with web browser on iOS?

There is a custom web browser in our app. We want to show keyword suggestions when user input some words in search field. Is there some Google api for this?
I've found the similar api of Baidu:
https://m.baidu.com/su?&from=wise_web&action=opensearch&ie=utf-8&wd=keyword.
This api will return a response in json format.
How about Bing and Yahoo? Do they have some kind of keyword suggestion api?
Thanks a lot!
For now , Google\Bing\Yahoo do not offer keyword research api. The keyword planner of Google or the keyword research of Bing are just tools for a company to find which keyword is more valuable for their Ads.
We can get keyword research api from some other websites, such as https://keywordtool.io/google-suggest , but it is not free.
Here is want I found:
https://keywordtool.io/google-suggest : Google does not want people to programmatically pull its autocomplete keyword suggestions.
https://www.quora.com/Does-Yahoo-or-Bing-offer-a-keyword-research-API-similar-to-Googles-Adwords-API : No API for keyword research from Yahoo! or Bing.
Hoping this answer will help someone else.

Youtube API beginner, searching for a list of different terms automatically

I have no idea if I'm allowed to ask questions here, because I'm a complete beginner and I need help for a university paper I want to write. I need to search for quite a big list of terms in the YouTube API with a specific regioncode, location, locationradius, publishedafter and publishedbefore term.
So basically I need to do queries like these, but for the same search term I have to change these parameters a few times and I have to do that for a lot of search terms.
Does anyone have a good guide that shows how to do this? Or would someone be willing to help me with this?
Thanks in advance
You can find YouTube API search examples in every major language in this Github repository. The reference for this API endpoint as well as the list of parameters available for the search.list call is available here.
You'll need an API key to use the API which you can get by:
Going to the API Console (create an developer account and API project if you haven't already).
Enabling the YouTube API on your API project on this page.
Clicking Add credentials > API key and selecting "sever key"

Bluemix - Use Insights for Twitter API to query if a topic is trendy

I'm implementing a sorting algorithm and I want to query the Insights for Twitter API in order to find if a topic is trendy in comparison to another topic.
As far as I've investigated, there is a Count API Operation which will return the number of Tweets based on a given query. Therefore I could query how many Tweets have the particular "keyword" in their body and then compare it to other different keywords to establish an order.
Is there is a more direct query to know if a keyword is trendy?
Your approach using the /api/v1/messages/count endpoint looks like the right one when working with the Insights for Twitter API.
I guess you could also use the posted query parameter to build trending charts over time for your different keywords.

Facebook Search in Graph API

I'm developing an iOS application that let the user to search for a person throught the Graph API.
What I want is the SAME behavior that it's present on the Facebook website. You know when you begin to search for a person in the top text input? The first results will be mostly your friends AND some people you MAY know or people you already looked for.
The problem? Try to use the same search pattern here to search a person: Graph Api Explorer
The Graph Api returns DIFFERENT results than the search input on the Facebook website.
Does anyone knows why? Is there a way to achieve the same results?
Facebook are using many algorithms to display search result like Relevance Indicators, Complexities of User-Centric Search and The Product.
One of the algorithm to display result on their page as below.
Personal Context:
Unlike most search engines, every Facebook search involves two key elements - a query and a querier.
Just as we need to understand the query, it’s as essential to understand the person behind the query.
People are more likely to be looking for things located in their own city/country or for people who share the same college/workplace.
We consider this information and much more when ranking results. The more we know about you, the better your search results will be.
In Graph API, they are not using this algorithm.They are just displaying the queried result. Hence you can not achieve same result using graph search API.
To achieve this you can use following apporach -
Get the friend list of user using me/friends?limit=1&offset=1
Get the user list using search api
merge both the result
show result(s) to user
For more information(approach/algorithm) you can check Intro to Facebook Search
Is there a way to achieve the same results? - NO
Does anyone knows why? - NOT REALLY
(Edit: Seems in another answer, someone does actually, but it doesn't change the answer for "If you can achieve it")
But its safe to presume that Facebook does not allow all functionality through the API, why would they after all ? They need to keep the people coming to their own platform. So I can't give you a straight forward response on WHY, but IF ? Not possible, there is zero documentation about more specified search for type user. When you request user friends, you will only get the user friends who are using the same app starting v2.0
Am afraid that you will have to drop the functionality you want to achieve.
It is not just the graph search. When you refresh your TimeLine. The order of posts gets changed every time because Facebook takes a Pull on Demand approach. Which means whenever you login, the data from your friends is fetched. Which is why facebook has a limit to maximum number of friends.
Talking about the Graph search and Graph API. They are not same and the Graph Search cannot be accessed through the Graph API. So, you would have to change your approach.
To explain why the graph search gives different results on same search term. I would guess that it follows the game Pull on Demand model ( although it is not open and we cannot know for sure ). Following that model makes sense though.
Thanks

Search engine optimization queries in Google Analytics Query Explorer 2

I am trying to fetch the result of Search engine optimization queries in Google Analytics Query Explorer 2.
But I am not able to get the desired results. I have tried the below query
Any suggestions how to achieve this? or Is there a way I can query it using google analytics api.
Kindly Checkout Internal Link Checker of Elite Site Optimizer helps in Identifying and fixing the Link Errors

Resources