Is there any way to do a search by tag in Deezer Api? For exemple to get the info equivalent to: 'http://www.deezer.com/tags/rock'. I've been trying for a while but I cannot find a way to do it.
Nevermind, you just do a normal search by artist or album looking for that tag and it returns the same results as in web
Related
I'm trying to find people either from particular city or who live in that city. Is there an API for this purpose?
When I use Facebook page, I can type in "People who live in Rome, Italy" (which is translated to URL https://www.facebook.com/search/115353315143936/residents/present) and it shows me all people who currently live in Rome. Using web page I can also search people by name and then add additional filter by city.
Can I do something similar with Graph API?
You can only search by name with the API: https://developers.facebook.com/docs/graph-api/using-graph-api#search - there is no way to get the same kind of search than on facebook.com.
you can add center and distance in the query
this comes from the documentation, you can change the type to type=user
GET graph.facebook.com
/search?
q=coffee&
type=place&
center=37.76,-122.427&
distance=1000
I am trying to get a thumbnail from an object that is returned using the Bing News Search API. The only helpful attribute of the returned object that I can think of in this problem is the url. Is there any easy way of using this url to get the thumbnail for the article?
Use the url Bing Search gives you back to make a curl call to the url and get the image from the page's OGP data. Several libraries are available in multiple programming languages to parse a webpage's OGP data.
The problem:
I want to find public posts that contain two hashtags (like #games & #movies). The graph search does not work with hashtags apparently. Do you know a way to use the Graph API to set up a query that can help me find those particular postings.
Thanks in advance
You can use the standard Search API for Posts as described in the answer here:
Facebook API - Using javascript sdk and searching public posts for hashtags
For example,
https://graph.facebook.com/search?q=%23selfie&type=post&access_token={user_access_token}
works for me.
I'm trying to figure out a way find related interests on Facebook. E.g. I want to search for Cityville and result should be Farmville, Castleville etc.
Is there an API to support this, what are the alternatives?
You can search the JSON result by the Graph API with the url https://graph.facebook.com/me/likes?access_token={your_token_here}, replacing the "me" with the Facebook User ID/Name.
If you are looking for pages search, you can use the same API, with the url https://graph.facebook.com/search?q={keyword}&type=page&access_token={your_token_here}.
I know we can search for public objects such as post, event, checkin in Open Graph API using:
https://graph.facebook.com/search?q=QUERY&type=OBJECT_TYPE
However I can not search for video objects.
Is there a way to search for videos in facebook using their title or description?
You can search videos using some attributes via FQL: http://developers.facebook.com/docs/reference/fql/video.
Unfortunately, the title and description are not among those...