I am working on an app so that the Tweets made in 1 mile radius of given geolocation (latitude and longitude) To be shown. This is my PHP code,
I am using the Vip server (PHP V5.5.12) and my code is working fine on this. But when I host my application on some free hosting sites (I have tried hostinger.in and 000webhost.com), then this script fails and prints 'blank' only.
Please help me solve this problem. / P>
Thank you in advance.
I tried both in the hosting and 000webhost and many others did not work because of Twitter There is a library to connect, PHP uses curls, and many free hosting has disabled the curl, or denies the curling connection to outgoing connections or twitter when it comes from the IP from the free host server. Maybe it's possible for the internet I've read, because many hackers are messing with Twitter and hosting with free hosting accounts. So, looking for a free hosting with CPNL, which works with Twitter API, it is a challenge, I have tried more than 20 and they do not work, some of them will be automatically recorded to the account or file Deleted or FTP access blocks if you try to curl Twitter
No comments:
Post a Comment