leogomezz4t / PyTextNow_API

Python texting API utilizing TextNow API
MIT License
67 stars 41 forks source link

Links Not Being Able to send. #55

Closed Unbandit2006 closed 2 years ago

Unbandit2006 commented 2 years ago

Hello there, I want to send links by SMS and for some reason on TextNow it appears, but on my phone, it doesn't appear.

This is my code that doesn't work:

for number in phone_numbers:
    for result in range(result_count):
        link = f'https://www.themoviedb.org/movie/{content["results"][result]["id"]}'
        client.send_sms(number, link)

I am working on python version 3.9.9 && PyTextNow version 1.1.9 && Windows 10

leogomezz4t commented 2 years ago

I've had this issue for awhile and have been unable to fix it. It seems like Textnows API doesn't allow direct links. I do know that adding a period at the end or beginning of the link can sometimes fix the problem