How to add user in AWeber? - aweber

I am using AWeber for the first time. I have a live application. I just want to add my user details in AWeber to send them emails. I have a AWeber user account at https://www.aweber.com/ and also have a developer account at https://labs.aweber.com/.
At developers account I have created an app and in the place of "app website" I put my application website. I got "App ID", "Consumer Key" and "Consumer Secret".
At user account I can create list add subscribers manually and also can send them broadcast emails.
My question is, is there any api to add subscriber in AWeber list that I've created? Or if I have to use the developer account how I can add user in the app without using signup form given by AWeber? Also can I send emails manually to the users added in developer account?
Thanks in advance.

Aweber's API does allow you to add subscribers to the lists in your user account. This tutorial will show you how to add a subscriber: http://engineering.aweber.com/quick-start-api-script-in-php/
You can send emails to those users manually from your user account and also via the API. Aweber recently has added features to create and send emails via the API: https://labs.aweber.com/docs/reference/1.0#broadcast_collection

Related

Firebase linking Anonymous user to Email Link user?

I would like to create an anonymous user account for visitors to the app to collect some basic info via forms and then prompt them to create an account via Email Link Authentication (no password) later.
I am using the JavaScript SDK and this is the link to the documentation
The goal is to link these two accounts. I am getting an "Unknown provider" error when trying to do this. The docs do not specify whether or not this is possible and there is no example. Is this possible?

How to authenticate existing customer via WooCommerce rest API

I am creating a mobile app for a WooCommerce website and have gotten to a stage where I want the user to login or signup to the WooCommerce website before they continue with a purchase.
I can create a new customer no problem but I am having trouble when trying to authenticate an existing customer. After looking at the rest api docs for WooCommerce, I haven't come across any endpoint that will allow an existing user to log in to their account. Is there any endpoint that will allow me to do this that isn't documented?
There might be other ways but what comes to my mind immediately is to use JWT Authentication for WP REST API plugin.
Using this plugin you can request for authentication on the server using the username and password. It will return a token if successful. Then use the token for checking if this user/customer is valid. If valid, use wc api to create an order for this customer.

No lists available even with API configured and list created at mailchimp.com account

No lists available even with API configured and list created at mailchimp.com account
What am I missing here?
1) Created account at mailchimp.com
2) Created an API key and inserted it into PMPro mailchimp
Any one help me..
Navigate to MailChimp’shomepage and click Sign Up Free.
On the Get Started page, type in your Email, Username, and Password, and click Get Started!
We’ll display a confirmation message. Check your inbox for the account activation email to complete your account setup.
Note
The time it takes to receive the activation email can vary. If you haven’t received the activation email, check your spam folder. You can also activate your account from the login page when you input your credentials and click Log In.
MailChimp blocks signups from role-based email addresses like admin#hathaway.edu or security#hathaway.edu.
Activate Your Account
After you receive the account activation email from MailChimp Client Services, you can complete the account setup.
Open the account activation email and click Activate Account.
On the Confirm Humanity screen, check the I’m not a robot box, and click Confirm Signup.
For more info refer this link http://kb.mailchimp.com/accounts/account-setup/create-an-account

Google Identity Toolkit without "Email First" option

I am planning to use Google Identity Toolkit and will integrate only with Google Provider (no other providers and no chance in the future too).
Whatever example I have seen, flow is showing "Email First" option.After providing email based on domain, it takes to identity provider site.
Scenario is, if user is not logged in, user is required to enter his email address twice, first on "Email First" page, then on Google Account Page.
As I have, only Google as provider, question is how can I directly redirect user to Google Account, once he clicks Sign-In button, instead of showing him "Email First" page?
Edited
Now I have little change in the flow, the web site I am working with has been integrated with different companies active directory, so once user enter his email address, based on email domain user would be redirected to required company portal for user verification.
Now web site is planning to allow Google accounts and when user enter email address with Google domain, use should be redirected to Google Account Page. Web site owner, does not want to see "Email First" or "Provider First" screen as this is bad user experiences.
If you specify displayMode: 'providerFirst' in the widget options, it should work as desired.
https://developers.google.com/identity/toolkit/web/setup-frontend#email_first_vs_provider_first_modes
Why not use Google Sign-In for Websites instead? Since Google is your only identity provider, that seems like your best option. You'd also get first and last names on login which Identity Toolkit doesn't provide.
https://developers.google.com/identity/sign-in/web/

Google Calendar Api not returning attendee name for directory contacts

I have built a web application that uses a service account linked to my own Google Account. We use Google Apps, so my Google Account is part of a domain. We have a server with shared contacts, so all of our clients are available as contacts for everyone. In my contacts, this group is called 'directory'.
The application retrieves events from the Google Calendar using the Google Api PHP client. It also retrieves attendees inlcuding all details for those attendees. But if the attendee is not within our domain, it will only retrieve the e-mail address. I also want to get the name for that attendee.
These names are in my contacts in the directory group. When I create an event and invite guests, I can retrieve these contacts and it will show the name and mail adress. But when retrieving the attendees via the API it does not show these names.
Is this a restriction of the API? Is there a solution for this?
I do not want to use the Contacts api with a non-service account, because I don't want to give permission everytime. It is not possible to use the Contacts api with a service account as far as I know.
You are correct that a service account won't work with the Contacts API, however you don't have to authorize it every time you use it. You can provide domain-wide delegation with two-legged OAuth 1.0a instead of 2.0. See https://developers.google.com/google-apps/contacts/v3/index#authorizing_requests_to_the_+wzxhzdk8+_service and https://developers.google.com/accounts/docs/OAuth#GoogleAppsOAuth.
Depending on your setup, you can also use the three-legged OAuth 2.0 flow for a single administrator account and save the refresh token. This would let you re-use that authorization without requiring explicit permission again.

Resources