We have Java based CRM and want to integrate facebook campaign management. I checked facebook marketing api and they provide PHP and Python based SDKs. I'm wondering how we can access/consume facebook marketing api in Java, there should be some rest interface which I could not find.
Anyone have idea?
There is newly released Java SDK (beta) for Marketing API: https://github.com/facebook/facebook-java-ads-sdk. You can give a try.
You can use
RestFB
The Marketing API support is currently in a beta state and you may use
it at your own risk. We would like to hear your feedback and hope you
open any issue at Github or write a message to Google Groups.
Here are the Java Docs
http://restfb.com/javadoc/index.html
http://restfb.com/javadoc/com/restfb/types/ads/AdCampaignGroup.html
http://restfb.com/javadoc/com/restfb/types/ads/class-use/AdCampaignGroup.html
Besides RestFB, Spring Social seems to be the best contender:
Java (Spring) by Spring Social - Looks like there is a pull request to integrate the ads management api, but, it hasn't been merged. https://github.com/spring-projects/spring-social-facebook/pull/155/files
Additionally, there is also Facebook4j
http://facebook4j.org/en/index.html
Well, the Marketing API docs are here:
https://developers.facebook.com/docs/marketing-apis
The quickstart is here:
https://developers.facebook.com/docs/marketing-api/quickstart
The reference is here:
https://developers.facebook.com/docs/marketing-api/reference/v2.5
Even if maybe RestFb does not support this, you can always use direct HTTP calls to the Marketing API (for example via Apache HttpComponents).
Related
Recently the Twitter kit is going to lose the support and I'm wondering what's is the right and recomended way to integrate to show feed tweets from search (using the api native or some new alternative to twitter kit) now and futter.
The most tutorial online is deprecated or uses twitter kit not work for some changes that Twitter made on your service and fails on oAuth.
The Question is how integrate twitter now in this year with the new native api on Android Api-28
If some one have a sample or start project I apreciated.
There are several alternative solutions for displaying Tweets in your app without Twitter Kit. You can render Embedded Tweets and Timelines within webviews using Twitter for Websites. You can fork the Twitter Kit project and build it into your app, or copy the parts you need into your app. Or you can use Twitter’s standard API to power your own native displays.
You should use Twitter4J. Right now there isn't any native Android libraries that work with Twitter's latest API. You can also directly call Twitter's API methods using any HTTP library, or an OAuth library such as scribejava.
Ok just for you ;) I just put on github a simple Android app test. It uses Twitter4J.
All you have to change is your twitter app credentials inside the file :
app/src/main/res/values/twitter_auth.xml
Here is the link :
https://github.com/jrevault/twitroid
Feel free to ask questions if you need.
You have do it easy with help of FCM , which provide all social Integration like
G+,Facebook,Twiter ....FCM having all facility ...
Does some one know how to integrate Google Speech API as ASR with other IVR Systems e.g. Avaya, Genesis etc. These IVR/VXML systems generally integrate with ASR using MRCP protocol.
Integration of Google Speech API with atleast one IVR (Asterisk) is documented here.
For the closed-source IVRs out there, dont think there is enough documentation or clarity on whether it is feasible for them to use Google Speech API since they only use MRCP, but there's a great discussion here on ideas of how to make that happen with a workaround (suggests creating modules that speak MRCPv2 with 3rd party services) :
https://github.com/RestComm/mediaserver/issues/284
and specifically, this comment: https://github.com/RestComm/mediaserver/issues/284#issuecomment-258404836
HTH
Not all the IVR are limited by the protocol MRCP. The Voximal (VoiceXML browser for Asterisk) , integrate connector to Google Speech, Bing/Microsft and Watson/IBM speech Cloud API. The incrediblePBX OpenSource project integrates a module with Google Speeh too.
I am working with some friends on an android application and we want to use data store on google app engine.
Can anyone help me find a tutorial on how to create a connection between the android app and the data store, I couldn't find a good one myself.
Thanks.
I suggest you look at a few, quite recent Google services:
Endpoints will help you create an interface between your server code and your client, including generating a client library and doing OATH2 authentication.
Volley is an Android library that makes it easy to perform the requests to the server. (There are a number of 3rd party alternatives to Volley that are also good.)
Mobile Starter Kit is a simple way to get started, doing everything from the client initially, but with the ability to customize the server later.
Take a look at this Google blog post from a few days ago:
http://googlecloudplatform.blogspot.ca/2013/11/connecting-mobile-developers-to-the-cloud-with-google-cloud-endpoints.html
Those are good starting points, but don't assume you should use the recommended Google services. Endpoints for example, will lock you into GAE and it doesn't sound like you need the multi-platform support it offers. You could just create a REST/JSON servlet using one of many libraries.
I reccomand DropBox API.
It is not what you asked, but I guess you didnt start using the Google API because you are looking for a tutorial..
DropBox API has a lot of info and tutorials and it's kinda easy to handle..
I am planning to write a native java application that can get some blogs by searching with a few words. And I know we can get some results by searching on google blog search. So I want to know if I can write such an application by using google blog search. But I found that google seems just offer a javascript API for its blog search. So could anyone tell me how to use google's blog search service in java?
If it's not possible, do you guys know some other services that can do similar thing?
Thanks a lot
Google's blog platform is Blogger, and it provides an API for working with the blogs on that platform. In addition, there are a number of client libraries for this API, including Java.
Here's some resources to help you get started:
Here you can download the Java client library for the Blogger API
Here is the documentation for the Blogger API in general.
You can see information on the different types of API calls you can make here.
And here is a link to the APIs-explorer for the Blogger API, where you can play around with its capabilities
If you're new to using the Google Java Client Libraries for accessing Google APIs, you may also want to look at the documentation for the client libraries in general, here
It looks like by default, the API only supports searching for posts in a given blog, not across all blogs, so you may need to do something clever to achieve your end goal (but it wouldn't be fun if it was given all away for free, right?)
I started developing my application in AppEngine Java, however I noticed that Facebook has officially discontinued the support for the Java API and the third party API was last updated a year ago.
Does anybody use Java + Social plugins? How has it been going so far? Should I switch to Python, I'd not want to since, I'm not very great with Python and have written significant amounts of code in Java already.
I have been using facebook-java-api on Google App Engine for a year now. It does almost all I need it to do (get friends list, get photos, upload photos). It uses the old REST api but I have not seen a deprecation date for the methods I use.
I also use Apache HTTP Client to do some Graph API calls not available in the REST api (deleting a photo for example).
If you decide to use python, try a look to vikuit social. It runs over Google Appengine , it's open source ( GNU3) and perhaps it's a good base to your development.