we recently started using Twilio lookup with the Carrier Info add-on to validate phone number format and determine the number type (mobile/landline). Most of our numbers have been U.S. or UK and we haven't had a problem.
Today we encountered our first Australian number and it caused an error for the Carrier Info portion of the response, specifically code 61003, "Requirements to invoke AddOns have not been met." The basic lookup portion of the response, with country code, number format, etc., is fine.
However, when I try the same number on the public-facing Twilio web page (https://www.twilio.com/lookup) the whole lookup including carrier info works fine.
Does anyone know if there are different API call requirements for numbers in different countries? Or what else might be wrong? Thanks in advance for any help.
The answer seems to be that this was a temporary error at Twilio. After the weekend, and without any changes in my code, the same number worked fine. Twilio support said they weren't aware of any problems with the service but that they would alert the engineering team that this had happened.
Related
My site has 3 "conversion" events:
User signs up for the site by providing their email (GCLID is known and a pixel fires)
User starts a free 7-day trial (by submitting a CC) (GCLID is known and a pixel fires)
User becomes a full member if CC is charged by Stripe on the 7th day (GCLID is known, no pixel because this occurs at Stripe)
My questions are:
For the first 2 events, which API endpoint is best to send this data to Google to make sure 100% of conversions are attributable via the GCLID?
For the last event, which API endpoint is best since Google will not be aware this subscription took place?
In the campaign setup, I'm optimizing for all 3 events and they are ranked by conversion value (full member is worth say $50, trial is $1, and providing email is $0.50).
I did notice a few threads that appeared similar, but couldn't find a use case that covered both scenarios, so figured I'd ask.
Just to further clarify, it'd be like this in order of events:
User joins newsletter. A pixel fires. I also send this conversion via API for redundancy
User signs up for a free trial. A pixel fires. I also send this conversion via API for redundancy
User becomes a full member after trial ends automatically. A pixel does not fire. I send this conversion via API because there is no pixel and this is the ultimate goal of the campaign.
Three different conversion goals are setup in Measurement > Conversions, the last of which is "offline".
Appreciate any insight or help.
Thanks,
ENDPOINTS CONSIDERED:
For the 3rd event, I was considering using the following:
https://developers.google.com/google-ads/api/docs/conversions/upload-clicks#upload_clickconversion
For the first 2 events, I was considering using the following:
https://developers.google.com/google-ads/api/docs/conversions/enhance-conversions?hl=en
However, when I asked this question in the Google Ads API forum, the answer I received reversed these two, which I am not sure is correct.
Additionally, the documentation related to Google Enhanced Conversions (https://support.google.com/google-ads/answer/9888656?hl=en) state that you can use the Google Ads API for the "set up enhanced conversions for web", but for "set up enhanced conversions for leads" it doesn't specify the Google Ads API is an option.
In that specific context, I'm not clear on which is better to use.
im new to this form and joined because I use Twilio for my business and had no other place to go for help. Long story short, I sometimes use my Twilio number to send text messages to our customers regarding new products/updates - usually 500 - 1000 messages at a time (over the period of maybe once or twice a month).
Usually how I use Twilio is through ZAPIER, once a contact has a certain tag added from my CRM, I set it so that the tagged contacts will get a text message - it usually works but in May I've tried it several times and it hasn't worked at all.
So I switched to using Google sheets with the script feature of adding my Twilio information and tapping "send sms" on top (Today was the first time I used it). Initially it said all of the messages were sent, but when I checked my Twilio balance - it was relatively the same... so I dug deeper and checked my logs, I realized that all but 3 of the 550 text messages were "delivered" and only those three were received.
It seems like there is some type of issue, as its impossible that only 3 people would open a text message - I usually get a good amount of interest from these blasts.
When I used Zapier this month none of the messages would even get sent, so I'm not sure what's going on.
Has anyone dealt with anything like this? Please share! NOTE: Im a newbie here.
I want to export everyone who has reply stop (opt out) for my messages. I see that my options are
API. However, through the API I can see that I get everything in pages of 50 messages, so I have to go and do a lot of code to go page by page, message by message just to check if the content is stop. Seems a bit unnecessary for a 1 time job.
From the console in my account, however when each time i try to filter on status received I get the following error, and when I dont filter I get error:
Your export request has more than 10,000 records, please filter your results and try again.
Surely there must be an easy way that I can get all the list of numbers that had opt out?
This answer above is not strictly true as of October 2020. Twilio now has an "insights" dashboard that allows you to view and download "Opt outs Received". When you click on that dashboard you are able to see and download the information.
It is under: Programmable Messaging -> Monitor -> Insights
Our account has "Opt-Out Management" enabled and this addition has been a game changer in finding out what users have or have not done in our system.
There isn't a way to export all opt-outs for LC's/TF's that Twilio maintains on your behalf but opt-outs are forwarded to your application for logging as well as added to the Twilio maintained opt-out list. Your application can keep track of the opt-outs this way. You can find more details in the Help Center article below.
Twilio support for opt-out keywords (SMS STOP filtering)
"When Twilio receives one of these replies, we will create a "blacklist" entry on our side, and then pass the message on to your webhook. Once we have a blacklist entry for a particular recipient phone number, any future attempts to message them will be met with a 400 response from our API, along with Error Code 21610 - Message cannot be sent to the 'To' number because the customer has replied with STOP. Recipients can disable this message stop, and resume receiving messages with the START, YES, or UNSTOP commands as outlined below."
Also, if you use the Twilio helper library for the respective language, it handles the paging for you, for example, for Node.js, reference.
Usage and Migration Guide for Twilio's Node.js Helper Library 3.x
"One of the biggest advantages of twilio-node 3.x is that it automatically handles paging for you! In both list and each, you can specify the maximum number of instances to grab (limit), and the page size (pageSize). The library will take care of everything else."
I'm curious about is there any way to detect phone number when accessing my website via 3G.
I did some research on the Internet and found these headers that can help me extract the phone number. But I can not get anything.
X-MSISDN
X_MSISDN
HTTP_X_MSISDN
X-UP-CALLING-LINE-ID
X_UP_CALLING_LINE_ID
HTTP_X_UP_CALLING_LINE_ID
X_WAP_NETWORK_CLIENT_MSISDN
May I extract phone number from the one who accessing my website via 3G?
Some operators are sending x headers on server requests ,based on my recent researches ,I found out that many operators are hiding or encrypting or renaming the x headers and it's hard to retrieve the user's MSISDN , I've tried many ways and If you wanna test your operator, you can use this website Test Operator's MSISDN availablity(remember to open the link with your mobile device)
I hope it will help you.
I used to get exhange rate from yahoo finance api by javascript with following url:
http://finance.yahoo.com/webservice/v1/symbols/jpy=x,eur=x/quote?format=json
but now it no longer work! I have search on the net but no luck.
Any help would be great, Thank!
Update: it is working if open with chrome mobile
Yes, it seems like Yahoo! has discontinued the (private, mostly-undocumented) Yahoo Finance API that many have been using for their currency data. All responses seem to be returning "Not a valid parameter". I suppose there's a chance they may switch it back on, but they don't officially support that API anywhere as far as I can tell.
I created Open Exchange Rates about five years ago, and our exchange rate API now supports a community of tens of thousands of developers - and their tens of millions of users - with accurate, up-to-date information.
Please feel welcome to check out our Forever Free service at https://openexchangerates.org.
Our API is in a simple, original JSON format, which has actually caught on as a standard method for displaying rates because it's so simple to work with (unlike the Yahoo API, which required you to parse the obscure nested objects to pull out the basic info you needed...)
If you need assistance porting from the deprecated Yahoo! API, we'll be happy to assist via email.
(I am the founder of Open Exchange Rates.)
indrakula is right, and their response helped me, but...
I also needed to retrieve exchange rate tickers (i.e. USDGBP=X). This was not trivial, and I had to do some searching. The URL format in this case is http://www.google.com/finance/info?q=CURRENCY%3aUSDGBP. This URL returns a JSON body and not something else as the alternative URLs mentioned in one of the comments for that reply. Also note the link with the parameter descriptions seems to be out-of-date, but I found most of them are self-explanatory. So don't rely on that link.
Note: I wanted to post this as a comment to indrakula's answer, but one needs 50 reputation to comment! I'm new! I tried to submit this as an edit to their answer but it was (rightly) refused.
use google http://www.google.com/finance/info?q=GOOGL
paramater description here http://www.networkerror.org/component/content/44.html?task=view