Linkedin Social Action API Related - java

#LinkedIn
Greeting to all,
I have a question regarding Social Actions API, Basically I wanted to know that there is an particular API for getting all number of Posts along with data like (comments or like) on are linkedin Page? (Please Share an Proper Example [this is demo API which we are using https://api.linkedin.com/v2/socialActions/urn:li:ugcPost:xxxxxxxx/])
Basically, our target is that to getting all numbers of posts which are present on my linked page plus we wanted to check also that if we received a comment on my any post so how we can reply on against him using an linkedin API's

It sounds like you're looking for some of the Marketing APIs. There is a Posts API that would allow you to search for posts by author. There is also a Social Actions API to get numbers of comments and likes. Note that you need to be approved to use these APIs.

Related

Retrieve Stations from Shoutcast.com

I am making a radio app in Java, and I want to get as many URLs as possible of streaming radio stations.
Is there a way to retrieve all that Shoutcast.com is offering? I found this page here but I can't configure what I am doing next. It requests a Dev ID. I am searching the forums... the night is closer and closer... I need some help.
Also:
Is there some way I can find ready lists online with available URLs of streaming stations?
The Dev ID is almost certainly the Developer API Key that Shoutcast issues to authorized developers. It looks like you can request an API key here.
And in terms of listing stations that are already playing, the page you linked contains a number of different ways to query that information directly through the API. That's probably the best official source of stations you're going to get. Of course, that means that you do need to acquire your API key first, but once you have that, it's all there in the wiki.

How to I send tweets to twitter from java

How to I send tweets to Twitter from java, looking for the simplest current solution please. As twitter always seems to be changing Im not even sure if this is possible and if there are any restrictions.
So I found that twitter4j was the most comprehensive and uptodate api, to access anything on twitter you need to use oauth and I didnt find the twitter4j documentation on this very clear.
However this excellant blog post http://www.javacodegeeks.com/2011/10/java-twitter-client-with-twitter4j.html clearly explains how to use oauth and update your twiiter status (send a tweet). Read through it carefully and it tells you exactly what you need to do and is really quite simple.

Google Content API - find products not related to specific seller

I would like to search in Google Content API similar to what I do with ebay Finding API to retrieve products by keywords not related to specific seller
How can I do it?
In the documentation I see get product call, but it requires merchantId and productId
The Google Content API looks like it's more geared towards sellers and the people brought on to manage their offerings. I poked around in the Java samples they had on there but couldn't find anything related to pulling products based on keywords, all required a merchantid.

Google page index - java

does any one has idea how to get google page index in Java?
I was googleing since last 2-3 days but helpless, can any one refer me API for that or give some suggestion for how to do that
Lots of thanks in advance
For example if we search for facebook in google, we get around 22,980,000,000 results. So I want to fetch this number using JAVA
make a corresponding HTTP request from Java to Google, then parse the replied HTML code. There is a div with the ID resultStats. This div contains the number of results.
Not sure what your real requirement is, what kind of index do you want? Google export fairly a bit amount of APIs via RESTful service, some of them are packaged with JavaScript lib like Google MAP API. There are also Java client library for OAUTH authentication
The custom search API information could be found at http://code.google.com/apis/customsearch/v1/overview.html. A comprehensive list of google APIs could be accessed at https://code.google.com/apis/console

Searching book using Google Data API

I'm developing an application in which user can search for a specific book and read it and purchase it. I want to use GData book search API for that. Can anyone tell me in which format I will get response as well as how to send request for book search? I have seen GData documentation, but not getting much ideas. Please help me.
You are going to have to send an HTTP GET request as seen here. That will return some xml that you will have to parse. Each book is an <entry> with lots of items and <link>s to things such as a thumbnail of the book's cover, like this:
All the information that you really care about though, will be sent after that, and will be in an item that has a dc prefix on it, such as <dc:title>Pride and Prejudice</dc:title>
You really should just be reading the documentation though, because it will be more thorough than anyone on here will care to be.
You have to use feed parser for this . Hit this URL in your IE and see the response. It will return feed. You just need feed parser to parse this and show in your application.
Google Books Feeds
If you are using Java than you should use official Google APIs Client Library for Java.
Here are detailed docs hot to use it with Google Books.
NOTE 1: Google Books API provides book search, but does not provide access to content. For this you must use Embedded Viewer API. This is a Javascript only API so it must be used inside a browser. If you plan to use it with Android you will most probably need to use the embedded WebView which can show HTML and Javascript.
NOTE 2: Commercial books can be searched with Google Books, but they must be purchased before they are available in users library. AFAIK there is no API to purchase books.

Categories

Resources