I really like everything we learned this semester. I was familiar with some stuff that we learned but in this class we went into it a bit deeper and I learned a lot of…
The last time we worked with an API was when we used google’s geolocation to find the postal of a partial address. It came out great I tried it with my location and a…
The last time we worked with an API was when we used google’s geolocation to find the postal of a partial address. It came out great I tried it with my location and a few others to see what would come up. When a user enters the partial address they will see the zip code for the address and then the address.
The next thing I worked on was making a twitterbot. I used Abraham/twitteroauth which is a php library that you can use with Twitter OAthu REST API. To make this twitter bot I first had to start by making an application at appstwitter so you can get your API keys and access tokens which you need to work with. The first thing I learn to do with the twitterbot pull up my account info to make I was connected correctly. After that I made my first post from the twitterbot and made sure that it was working.
After that I went back to the REST APIs to do some research on how I could search tweets about a certain topic or twitter account. I finally manage to figure out how to do this by using the GET function and making a query on what I wanted to lookup. I searched up a few posts about Bungie.
The next thing I wanted to do was learn how you could be able to retweet a post. I started my research and found that you could by using the POST function and using the ID of the post that you wanted to retweet. To find the ID of the post that I wanted to retweet I had to first search up the tweet by using the GET function. After I got the ID of the twitter post I had to go back to using the POSt function to retweet it. I tried to get it to print out what I retweeted but I refresh then all I got was that i had already retweeted the post. When I checked my account I saw that I had.
This is all I manage to get done with the twitter bot. I did do some research on how I might have been able to retweet certain posts every hour or 2 but I wasn’t able to find anything that was helpful to me. So I do wish I had some more time to figure that out which I might in the future.
These last few days of our class we started to learn about Application program interface (API) and how we can start to use them. The first API we learned to use was Openweathermap. This…
These last few days of our class we started to learn about Application program interface (API) and how we can start to use them. The first API we learned to use was Openweathermap. This API allows us to show the weather on our own site if we wanted to. We also learned how to use php to make sure the weather always showed as fahrenheit. This is how it came out.
The next API we worked with was Google Maps. We used this API to create a basic google map page and then we also used it to work with google’s Geocoding. With Geocoding we were able to have the page find out exact location and this is usually used so a user knows where they’re. These are the examples we made.
This week we continued working with Sql and learn many new things. We learned how stop people from adding code to our sql database and we worked with a simple sign-up page. We worked…
This week we continued working with Sql and learn many new things. We learned how stop people from adding code to our sql database and we worked with a simple sign-up page. We worked with sessions and cookies to have a browser remember that a person is already signed in. Lastly we worked on securing passwords using codes md5 and salt.