Entering website pushes notification on iPhone - ios

I want to make a Simple App. I’m a beginner in Swift, with Just basic knowledge, But I’m Very Good at PHP and JS, So basically, programming is not foreign to me.
The App should cowork with my website and it should do Only one thing. When person visits my web, I get a notification on my iPhone. Simple as that, yet I have no idea how to make it.
Any ideas, recommendations?
Any help Appreciated.
Thanks.
Dave

I think the easiest way will be to use OneSignal service for Push Notifications. When somebody enters your site, you call method on OneSignal API via your PHP code. And it sends push to your app.
OneSignal API is here:
https://documentation.onesignal.com/docs/onesignal-api
Documentation about iOS integration is here:
https://documentation.onesignal.com/docs/ios-sdk-setup
It is free and easy to use.

That would require a bit of PHP and SQL (and everything similar). You can check out Google Analytics.

Related

How to create an USSD Mobile Application

I want to create a mobile app that can communicate with USSD. We have lot of services we buy using USSD code, I was thinking about building an app to help solve that problem. An app that use to download and use to do their transactions. For example if someone want to buy something using Mobile Money they would use the USSD code which is *144#. If there is a way to create an app that will be able to do the transaction that will be great.
I am thinking of building this app using NativeScript. If there is any other framework that would make me easier I would really appreciate it.
My team and I developed a platform called AutoUssd which allows u to do this. Kindly check it out at https://autoussd.com to see if it fits your needs...

Iphone App that can open other apps? How

There is an App out there that can 'intercept' pictures from snapchat. I'm not sure what low level witch craft they are using to accomplish this, but I want to learn more about how to do it and I don't know what to search!
Can someone please help me? This is the app I am referring to:
https://itunes.apple.com/us/app/snapbox-save-snapchat-snaps/id727651340?mt=8
I just read the app description you are referring, and I don't think intercept could be the right word to use. You will need to read more about Terms of Service from SnapShat and probably try to read if they provide any official api so you can use it.
What this app does, is actually consuming in someway the posts you are receiving and then saving it to your iPhone. That's not a hard task tough.
In this case, you're providing your snapchat login to this app and they're using it to pretend they're you to communicate with Snapchat.
No actual "intercepting" is happening, and the app likely works without Snapchat installed.
see: http://blog.snapchat.com/post/99998266095/third-party-applications-and-the-snapchat-api

Accessing Google Calendar API with OAuth2 on iPhone

I'm trying to build google calendar functionality for an iPhone app. I understand I need to be authorized with OAuth2 and would like help some help. The iPhone app is accessing a public calendar and therefore the user is not supposed to login with a webview like the google toolbox framework. FWIW, I have my account set up. Any framework recommendation or good tutorials for this would be greatly appreciated.
I am in the same boat as you. The info you find on this is scarce and confusing... unfortunately.
You've probably already been to Google's API Documentation. This post helped me to get the GDataObjC-Client to work in my project.
Google's samples are unfortunately all for Mac and not iOS. Their take on it is, that the methods are pretty much the same for iOS as they are for Mac, so you figure it out how you translate the Mac portion to iOS.
I ended up doing just that... I created a new XCode project and brought over the code of CalendarSampleWindowController of the Mac-app to my ViewController.
Good luck!

Is there any sandbox environment for Twitter app development?

I am developing an iOS application and I am integrating the ShareKit 2.0 project. I want to share content via Facebook and Twitter. Both of them require to create an application on their platform. Everything at this point is ok.
The problem is that as the application in under development, we don't want it to be visible by anybody that is not in this project, so we can't publish content on our facebook/twitter accounts visibly for external people.
Facebook supports a sandbox environment where the app admin can allow just certain users to use the application, so only those users will be able to access and view contents related with that app. And I am looking for something similar on Twitter, but I can't find it.
This is a very hard problem, when you don't find out if this is possible or not, because you never know when you should stop looking for the answer and decide it's not possible. So here I am, asking to SO gurus: is there any sandbox environment for Twitter so we can develop and test our applications?
Thank you very much!
Ok, as I received no answer for this question, I will finally deduce that there does not exist such a sandbox environment for Twitter.
However, I "solved" my requirements by setting my testing account in private mode (I didn't know about this because I rarely use Twitter). Right now this will do the trick, but of course it's much worse than the Facebook sandbox environment.
Apparently not:
https://dev.twitter.com/discussions/1238
#episod Taylor Singletary
There are unfortunately no sandboxes for this kind of activity. It's best for automated testing to not actually hit the API but instead to mock it out.
I recommend you just create a dummy account for testing. I don't know any other way.
Have you tried http://twitsandbox.com
twitSandbox is a web application to support creating applications using the Twitter APIs. It actually processes the methods of almost all and you can confirm what kind of response receives.

How to Add Phone With twitter using Third Party tool

I need a script that will add my phone with Twitter for All latest notification.
I found this page Twitter but i need to create script for my own application.
I goggled but i didn't get any solution For this.Please Help me to find this answer.
Thanks a lot in advance.
First Edit
This is a twitter's new feature Send notification to Phone. Actually I want to create an app that will allow users to register there phone with twitter via my application. Ie I need a script to implement send notification to phone.
The question that others are asking you Pankaj is what platform is your application being written for. You keep saying you want a "script" to do this, but what kind of script?
Giving us more insight to what your application is (a console application written in C#, or an ASP.NET web application) would lend more detail and raise the chances of someone being able to help you. :)
Regardless of your app's platform though, you're probably going to need to look into the Twitter API for setting this up. This is the normal method to interact with Twitter from 3rd party applications. So all the suggestions above, specifically the list of API's available, is probably what you're looking for.
Hey, can you give some more information? What kind of Phone are you developing for?
Maybe that helps solving your Problem.
If you are just searching for a way connecting your Phone to Twitter, here is the Twitter FAQ for Phone connecting:
http://support.twitter.com/articles/14014-twitter-phone-faqs
Maybe it helps, or give you more keywords for your search.
I don't believe there's a way to get or set the notification phone number using the API, however if a phone is already setup on the profile you want to configure, you can do the following to get notification from all user friends.
The user will need to authorize your application to access her account. This flow uses OAuth, and begins here:
http://api.twitter.com/oauth/request_token
Once the user has granted your app access, and your application has all the required OAuth credentials, turn on notifications using account/update_delivery_device:
http://api.twitter.com/1/account/update_delivery_device.json?device=sms
Next, fetch all the IDs for your user's friends using the friends/ids API call. Be sure to study the documentation; this call uses cursors, so you will have to manage those if the user has over 5,000 friends. Store these IDs for use in the next step. Here's an example call:
http://api.twitter.com/1/friends/ids.json?cursor=-1
Once you have all of the friend IDs, you can call notifications/follow repeatedly to enable notifications on your mobile device whenever your friend makes an update:
http://api.twitter.com/1/notifications/follow.xml?user_id=12345
This approach will burn one API call for each user that you enable notifications for; there's no way currently to manage notifications en masse.

Resources