Real Time search in Orkut - (like twitter) - opensocial

Does the OpenSocial or any other API allow access such that we can get real time updates of what users are scrapping about on Orkut ?
For e.g. much like I can query twitter on what people are feeling about a movie or a book, I want to do the same with orkut ?
At the moment I can go into Orkut - do a search , click on Topics in search result and sort of get the information - I just want to be able to do this through the API !

Unfortunately there is no such API for Orkut in this moment.

Related

Retrieve google news through Google CSE Api

I am searching a solution to retrieve news from google news.
I am already retrieving the news from the RSS feed. But this is not scalable, and I will get blacklisted.
I wanted to use Google CSE API (with billing option, I want to be able to send more than 100 000 queries per month), but it seems not to be possible to use it directly with google news. (it seems to be only working with google image, or global web search)
I have already read about Bing Search API, and Yahoo Boss API. I want to know if there is a way with google news. I have already tried to set the site only to google news, but I am getting old news article clippings.
I have already read this discussion(but there is no answer) and this discussion had no new solution for me.
Is there a billable way of doing high volume query directly to google news ?
Thank you
We (Google) currently don't offer programatic access to Google News, and unfortunately I'm not aware of any plans to change that.
You can still use RSS though for free, just watch out for the number of requests you send our way.

Accessing User 'Most Listened To' using Spotify / Echo Nest / Facebook API

I want to know if I can access a user's play history (more specifically what songs they listen to the most) for an app. The app I am building can perform the same goal with iTunes using their built-in play counter. I know Spotify uses a similar counter, but I assume for privacy concerns they don't want to deal with privacy concerns from concerned users. However, I saw a few instances where it was suggested that this task could be accomplished using Facebook's API, or Echo Nest's API. Please let me know if anyone has some constructive suggestions toward finding a way to legally obtain a particular users 'most listened to songs', or something to that effect.
SB
There's some documentation about Open Graph Music on the Facebook Developer homepage:
https://developers.facebook.com/docs/opengraph/music/
Baseline is that you only can request a User's play history if he gave you app the explicit right to read his data.
The relevant permissions would be
user_actions.music https://developers.facebook.com/docs/facebook-login/permissions/v2.1#reference-user_actions_music
user_actions:{app_namespace} https://developers.facebook.com/docs/facebook-login/permissions/v2.1#reference-user_actions__app_namespace_
Then, you should be able to request
GET /me/music.listens
according to https://developers.facebook.com/docs/reference/opengraph/action-type/music.listens/ You'll need to perform the aggregation of the most played songs/artists yourself, because there's no endpoint for that.

Caching Feeds from Facebook, Twitter & Instagram

I'm building a site for a non-profit festival where we'd like to have a 'media' page which brings in photos from instagram (hashtag search), updates and photos from Facebook (via festival's albums) twitter posts (by user and hashtag).
I've tried the JS widgets for Facebook and Twitter but wondered about using PHP/Codeigniter to pull the feeds and caching them somehow for better performance and more control over the look.
Would it be best to then store the feed data in a json file on the server or in a MySQL record?
I'm leaning toward a table with a record for each feed that would basically just store the feed URL, JSON, last updated time and an identifier of some sort.
Then I could write a class with the following type of methods:
get_feed($id='facebook_updates', $expiry_time=3600);
Does this seem like a reasonable way to go? or is there a better solution already existing?
I'm not quite sure how I'd work that in with the feeds that need Auth (twitter & Instagram)
bro!
First, it does seem a reasonable way to do it and I don't know any better.
But, if I had to accomplish that, I would break my problem in two:
A server side code to grab the info from the services (that I would
probably store as json so that I could use the info returned
directly) running with cronjobs from time to time.
A client side (server would work too) one to show that info with
customized style.
To work with the feeds that need auth, you'll have to create an app in each of them, authorize it to access your personal account and use it in the code. Never worked with Instagram but the others have good documentation on how to do that.
Finally, with some modification, you may be able to use this wonderful too to help you accomplish your task: http://plugins.in1.com/socialist

Tracking Real-Time Visitors on a URL

Google Analytics provides 'real-time' active visitor count for specific pages/urls. I don't think they expose that through the API. Is anyone aware of a tool that I can use to keep track of real-time active visitors for specific pages on my site?
Thanks.
Now, Google has launched new API- Google Real Time API, which provides this facility. with this you can extract similar data.
try : https://developers.google.com/analytics/devguides/reporting/realtime/v3/devguide

Semantic-based recommender Facebook application

As a project of this semester my friend and I are thinking to make a semantic-based recommender Facebook application. For example, if I wanted to go "a trip to Europe", this application is intended to do the following: go search in my friends list and gives me back all photos albums having the name "Italy Travel" or even only containing a comment about "Eiffel Tower", my friends statuses related to anything in Europe, notes of my friends, links they have liked in other websites and other activities that show up in their news feed. And same goes if I want to watch a movie, read a book or study a subject...etc.
And my question is:
Is such thing possible to be
achieved within 3 months? knowing
that we have only the very basis
about Facebook API and semantic
related subjects.
If it is, what Ontology can we rely
on? And what other concepts should
we have as a starting block?
In 3 Months Most probably yes (depends upon how much you already know about Facebook API).
Things you should know before embarking on journey to develop this (Some i think are significant enough..)
Either you can go about developing whole Interaction Code between your server and Graph API yourself.
Or use some SDK that are already out there.(Some are mentioned in Facebook docs) Like Facebook C# SDK for C#.
Understanding of FQL and Graph API (Make some small project first to try and test things like getting user friend list).
Basic understanding of HTTP GET and POST requests and how to construct them in language of your choice.
Parsing JSON in your language.
Get a print out of documentation of selected topics for offline reference (I did that...)