Zoho API: working example of authentication? - zoho

I spent about 3-4 hours trying to implement the examples at Zoho API's doc but keep getting different errors just to authenticate, e.g. "invalid_response_type" and their documentation is too vague.
Is there a working example of it?
I tried their NODEJS sdk but it's not straightforward either.
My end goal is to have my app inserting leads on Zoho

Related

How to retrieve posts from Google Currents using the Google API?

I'm trying to figure out if there is a way to retrieve all the posts of a community of Google Currents using the Google API, in order to store them automatically somewhere else. Unfortunately, I've found nothing that allows me to achieve that so far.
Do you know any way to do that? Google API related, or not.
So far, I've looked in the Google API docs but haven't found anything truly usefull. I might need to develop a script that retrieves on its own the posts. Seems like a lot of work.

How can we access the Ads Action Stats list in the Facebook Marketing API, using the Python SDK?

I have been trying to access the list on the Facebook Ads API for a few days now but haven't been able to make any headway.
I need to pull the purchase_roas field which is part of the Ads Action Stats List. However, I'm not able to do so.
I'm using the Python SDK and have been looking all over the place for some examples but haven't been able to find any!
Any directions or sample code would really help here. Thanks so much in advance.
This is an example code of fetching the ROAS on an ad account:
insights = FBAdAccount(fbid=adaccount_fb_id).get_insights(
params={'date_preset':AdsInsights.DatePreset.lifetime},
fields=[AdsInsights.Field.actions,
AdsInsights.Field.website_purchase_roas,
AdsInsights.Field.mobile_app_purchase_roas,
])
Note that the website_purchase_roas returns a list rather than a number. In addition - if your ad account has no ROAS no list would be returned.

Reporting Scores Using PHP / JavaScript

I have created activities like these:
https://www.ereadingworksheets.com/text-structure-worksheets/text-structure-practice-01/
https://www.ereadingworksheets.com/reading-comprehension-worksheets/google/
They use the Google Classroom button.
When students are done with the quiz, they can currently print, save, or email PDFs of their scores. They can also share their scores to Facebook.
I want them to be able to submit their scores and essay responses to Google Classroom.
I've looked at the documentation here: https://developers.google.com/classroom/guides/manage-coursework
But the examples are only in Python.
Everything I've built for this project is based in PHP.
Can I get some examples using PHP that achieve the following goals?
Pass graded scores to your API.
Pass ungraded essay responses to your API.
Thank you in advance for your consideration.
There is a PHP Quickstart for Classroom API which you can use as a reference to start from. Also, there's a bunch of PHP scripts from Google in their google-api-php-client-services for Classroom API.

Google+ API to get insights data of Google+ pages

For a project, I need to get following information from a Google+ brand page
count reviews
get rating
get reviews
get reviews time stamps
contact information
I have tried finding some API on developers.google.com but failed to get such API. Is there any other way around to get this data? It sounds like a dumb question, but unfortunately I stuck and getting no help from anywhere, that's why I am writing here.
Thanks
Saurabh
You can download a bunch of libraries here that make using these api's pretty simple.
https://developers.google.com/+/downloads/
Look around the pages they also have plenty of example.
https://developers.google.com/+/web/
https://developers.google.com/+/web/api/javascript

Rails4. Contacts importer from famous providers (Gmail, Facebook...)

Problem
Need to implement contacts importer/chooser on Rails4 project. Needed providers - Gmail, Facebook, Yahoo, LinkedIn, Outlook.
Researches
Tried omnicontacts and contacts gems but both has some limitations and maybe outdated for some providers.
There is commercial project which do this for you - CloudSponge , but I prefer open source.
Current Status
Implemented Linkedin contacts import using devise, omniauth, omniauth-linkedin.
Implemented Gmail contacts import using omnicontatcs.
Failed with other providers.
Queastion
Is there any other all-in-one solutions (maybe I missed something) which could be useful for my issue or I have to implement all things from scratch, maybe using already outdated gems/libs ?
Another thing I was thinking, maybe this task better to solve on client side using javascript libraries?
If you to try implement contacts importer in a do-it-youself way, the first goal will be proper learn OAuth2 and all the 4 authentication flows. I like this blog post explanation.
Then if you want to use a client-side-only solution for OAuth2, you'll need to use the Implicit flow.
For Google Contacts, you can find Implicit flow documentation here.
Disclaimer: I work for CloudSponge, and I'm a big fan of free/open-source solutions too. I even use Linux as my desktop :)

Resources