How to get response of meeting invitation email in php - php

I am sending calendar meeting invitation to user's email.
When receiver accepts invitation then it appears in receivers calendar but I am not able to get response.
Is there any way that I can get response and use it in my website?

Google Service Account is the perfect solution in this case. In this, users do not need any API detail instead site owner needs API detail. Read Google service account documentation and you will find solution of your problem.

Related

Gmail API Limit

I use Gmail API to get users emails from Google using scope(email) and It does work great.
However, As mentioned in this Google article Not only I have 1,000,000,000 Daily quota but also getProfile Method cost me only 1 quota.
So, Doing some math, I should be able to Sign In 1,000,000,000 Users to my Website daily.
But, That's not the case, Actually Google allow me for only 10,000 Requests daily.
What I need to know:
Why is that? (1,000,000,000 Quota => 10,000 Requests).
Is there another way to get Google Users email without using Google API Client?
How many Sign In requests can I send to google Daily?
Note: I have no interest in Google access token since I generate my
own access token for every user (I only need the email).
Thank you!
You are not using Gmail API. Gmail API is intended to interface with a Google user's Gmail mailbox (sent/received emails). OAUth scope email does not grant you any access to Gmail API. What it does allow is access to get the Google user's email address (may be #gmail.com or may be another domain).
See Google's list of OAuth scopes. email is listed under Google Sign-in.
To my knowledge, there are no quotas around usage of email scope and sign-in.

AWS SNS Endpoint subscription to a topic

Instead of creating an endpoint in an application and using that endpoint to create a subscription in a topic, Is it possible subscribe to a topic directly with the Registration Id. Also just want to know if it is possible to do it in PHP.
Please help me here.
It's not to possible subscribe an endpoint to a topic directly with the Registration Id (or token). You will first need to subscribe the device to an Application. You can then send direct pushes to the endpoints or subscribe them to your topics.
Note that "when you delete an endpoint that is also subscribed to a topic, you must also unsubscribe the endpoint from the topic", it's not unsubscribed automatically ~ http://docs.aws.amazon.com/sns/latest/api/API_DeleteEndpoint.html.
You can use AWS SDK for PHP to subscribe your endpoints to your topics, for more information, see http://docs.aws.amazon.com/aws-sdk-php/v2/api/class-Aws.Sns.SnsClient.html#_subscribe
AWS does not provide a way to do that automatically, but you can easily handle it in your code.
Take a look at this StackOverflow thread for more information and sample code in Objective-C: "You can directly call the Subscribe API after you have created your endpoint. Unlike other kinds of subscription, no confirmation is necessary with SNS Mobile Push".

Google Calendar API ACL Rule Not Sending Invitation to Non-Google Email Address

We're looking for some specific expertise with respect to sharing access to Google Calendar accounts via the Google Calendar v3 API. Once the calendar is created, we are creating ACL rules to allow access by other email addresses. Our problem lies in having the auto-generated invitation sent to non-Google email addresses. Unlike a Gmail address, which automatically gets the calendar added to the Gmail address' calendar, we've found that if the email address has not been previously linked to a Google account, it does not automatically receive an invite from Google to the Calendar as it would if the the address was shared manually via the web browser interface. We are able to manually have the invitation sent out by manually deleting the API created ACL rule from the calendar's share list and then manually adding the email address again, which prompts to send the invitation. Naturally, we want that invitation sent automatically when the ACL rule is added by the API.
Note, this has nothing to do with sending event notifications. This is for access to view the calendar itself.
Is there anyone with some relevant experience that can enlighten us on this behaviour?

How to get developerToken for google adwords api?

I've downloaded the PHP client library for Google Adwords API. I need to insert my login details in /src/Google/Api/Ads/AdWords/auth.ini. One of the variable is developerToken.
How can I get it?
Directly from the API...
Your assigned Developer Token will be activated once your application
for API access is approved. Your token will be available through your
AdWords API Center—accessible through the My Account menu for the MCC
account you applied with. You'll be able to access the API by
including it in your request headers when interacting with our system.
It is very important that you keep your Contact Email up to date—we
may send you important information regarding disruptions to service
and urgent changes via this channel.
https://developers.google.com/adwords/api/docs/signingup
I understand this might be old, but since Google updated their API, let me share my experience.
You need to create an MCC account (My Client Center), basically if you already have a Google Adwords account you cannot use it to generate developerToken however, you still can you use same Gmail account to create a new MCC account.
Follow below:
https://adwords.google.com/home/tools/manager-accounts/
Click on Start Now
Probably you are already logged in using your Gmail account, in all cases use your Gmail account in the email address field.
Choose name for your account let's say main-account
Do not click save and continue
Check below picture, you need to click, click here in the message below.
You will then redirect to the main dashboard, where you can click on Tools and then under SETUP tab you will find Adwords API Centre where you will be able to generate developerToken
you have to use the developer token from your live account. The token will work fine even if its status is pending

Importing Facebook contacts on my website through yahoo contact importer

I'm developing a php web-site which should give the possibility to invite Facebook friends of the user.
I've tried openinviter but doesn't work, after googling I think the problem is Facebook does not allow friends'email retrieving through API, nor sending them messages (am I right?)
But there is an authorized application, Yahoo! contact importer, which does the job.
So I was wondering, is there a way to call Yahoo contact importer through Yahoo api? (I've readed a thread on stackoverflow in which a user suggested this).
I've searched in Yahoo documentation, but did not find anything.
You may want to try Facebook's Send Button if all you want to do is to let your users send invitations to their Facebook friends.
If you want to actually get their friends email addresses into your database, you'll need to teach them how to import their Facebook friends into their Yahoo account first.
Once the addresses are in your users Yahoo account, you can integrate with the Yahoo API directly or use a contact importer service like CloudSponge to do it for you.

Categories