I'm trying to get some information for a application we would like to develop for our business. We run a chain of stores (approximately 20) and would like to give our customers reward points when they check-in to our store location. We would also like to display that information our company site eg. "Client X has checked in Location Y". I was wondering if anyone can point me to any API(s) or solutions that may be able to achieve something along these lines? I was looking at the foursquare API, is this a viable option? or is there any other recommendations?
Thank you
As Fahri pointed you can use 4sq API, but nowadays all socials integrate geolocation. You can share your position also using Facebook and Twitter. I will suggest to use the last two, because they has integrated authentication, and API since iOS6, probably they are also more used than 4SQ.
Related
I'm using the Google Plus API for a project that I'm working on. I'm hoping to be able to get information about shared circles in which a particular user has been included.
I've seen this active on Circle Count. For example, half way down Guy Kawasaki's profile page (http://www.circlecount.com/p/+GuyKawasaki), you can see the number of circles in which he has been shared. It also includes information about each circle like the date it was shared, the number of users that were included in it and a few more details.
I'm using PHP and am hoping to do this through the API, but I don't see any options for this type of information in the API. When I use the API to get information about activities, I don't see any field that seems to identify a shared circle post as anything different from any other post.
If you know a way to workaround the lack of support for this in the API through some form of a hack, please feel free to let me know.
Try looking over here: https://developers.google.com/+/domains/getting-started
Read the names of a user's circles and the membership of each circle
Google+ API v1 NO
Google+ Domains API YES
So I get on this url (Google+ Domains API): https://developers.google.com/+/domains/api/#Circles
Where the information about circles can be retreived. With this call:
/people/{userId}/circles
Anyone knows a easy way preferably PHP to achieve this. I want to redirect mobile visitors based on their country and carrier (like T-mobile or Vodafone). Thanks in advance
There is a HTML5 Network Information API:
http://dvcs.w3.org/hg/dap/raw-file/tip/network-api/index.html
Not sure if you can get Carrier information though but I know some Carriers offer HTML5 API's of there own that you might take advantage of:
http://developer.att.com/developer/forward.jsp?passedItemId=9700222
Also there is a HTML5 Geolocation API
http://dev.w3.org/geo/api/spec-source.html
More Examples:
http://www.html5rocks.com/en/mobile/optimization-and-performance/
As for a PHP solution you could do a carrier lookup, there are no free solutions but you can try something like this:
http://www.data24-7.com/carrier24-7.php
But for this to work you would need to obtain the users phone number which:
HTML5 thankfully can not
PHP thankfully can not
The user would have to manually enter the number or develop a native app which would have access to the device number
I see a lot of sites showing this, but on Groupon in particular for a merchant, they will show Reviews from CitySearch, Yelp (I think), TripAdviser, Open Table, Frommers, etc.
Do all these sites provide API's? I can't find them or would Groupon be scraping the sites?
Any ideas how to get this same type of data?
Thanks!
Basically all the sites you've listed have API's to allow for various bits of information to be extracted, for example Trip Advisors can be found here: http://www.tripadvisor.co.uk/help/what_is_an_api
I suggest you give Needlebase a try. A free account gives the public access to your scrapped data, but its a great tool.
http://needlebase.com
How to use it/Example:
http://www.needlebase.com/videos
Note: Get permission from the site before hand/ check the laws in your country regarding scraping.
I am planning to use FB API to access "Events". For an example if I select Sri Lanka. All events by that location. If you guys had any luck with that let me know. I am browsing trough FQL to get this done didn't have much luck.
This does look like something helpful , i found it from a search , but couldn't. Get it to work as I need.
https://graph.facebook.com/search?q=coffee&type=post&geo=id&lang=indonesia&location=indonesia
Please post me up if you guys have any idea.
PS : Final outcome it to grab Events from FB and post on a blog something similar to tumblr.
I haven't done much work on Facebook platform but the following information might help you:
Read the Developer Documentation as it will tell you how to use API methods and what are their limitations
From what I understand, you can use https://graph.facebook.com/me/events?access_token=[a valid access token] to get events that the current user has been invited to or hosting. It is important to understand that this information are per user basis and each user will have to authorize your application to use information about their subscribed events. This means that it may not be possible to do something like 'Get a list of all events taking place in Colombo, Sri Lanka'. However you could use the above mentioned api method to collect data from users who use your application. You can then use this data retrospectively create a graph showing all public events information.
Hope that helps.
Dinesh.
Facebook doesn't support searching for events by location from the API. However you can use the graph search like this: https://graph.facebook.com/search?q=srilanka&type=event this will search for events having "srilanka" in either the description or the name or as their location. This does not guarantee that the events are from sri lanka but you can filter out the results based on the "location" field returned by the api.
I recently use the great php class call : Google Analytics PHP API. I manage to get it working to get a lot of info and stats for my 25+ website that have analytic
Now i like to get more data like
The page rank the google placement
(where i am on google #325 or #520)
Google Page Rank
Google Indexed Pages
Traffic Rank
Inbound Links
DMOZ Directory
Yahoo! Directory
get a summary (my way) much more like http://websitegrader.com
do you know a php class to do that ?
I guarantee you're not going to find one "class" that does all that for you.
Manually checking your site's rank on Alexa is probably going to be your best source of information on top of what Google Analytics is already giving you.
Google Analytics does NOT require any sort of API.
The site you linked to asks for your Google username/password. I'm flagging this question. I encourage others to do the same.
you can get all from alexa api (Alexa Web Services)
http://aws.amazon.com/awis/
but not free
$0.00015 per request ($0.15 for 1,000 requests)
i thought in the past to build a website to arrange an Arab sites
but arrived at the checkpoint
somme website use awis
www.statbrain.com
www.websiteoutlook.com
www.websitevaluecalculator.com