The why
I'm working on a plugin that is supposed to interact with the Google Analytics, and figured that the google-api-php is the best way to do that.
I have not used a couple of hours of research and testing diffrent stuff - and i feel like i'm still stock at the beggining, so i hoped maybe somebody on SO could help a bro out :)
I have looked at every possible example i could find, read alot of stuff - but i seem not to be able to find a working example i can study.
So what is your plugin supposed to do?
What im look to do is;
Connect with Google Analytics from my webpage
Queue for diffrent data (clicks, links, country - the usual stuff)
Use diffrent kind of stastics on that data
If anybody either have a working examply i can study (i learn best by studying working code), or willing to help me out in anyway - i would appreciate it alot!
The developer documentation here provides a fair example on how to get started. Please try to run the example and if it works then you can follow the reference guide here. I hope this helps! If there is anything else you need just let me know.
Related
Hi there I was wondering if anyone could help me out.
Basically I am trying to use the trafficEstimatorService in order to retrieve how much traffic a keyword that is entered through a HTML generates.
I have an idea of how to make it work but I am totally new to using the google API.
Firstly would I create the form in php and perform a GET request on the trafficEstimator url with the keywords in the form as parameters?
Thanks!
I found that the hardest part of getting started was the Oauth Authentication. Ewan Hemming's tutorial on the subject helped me out a lot: http://www.ewanheming.com/adwords-api-oauth-tutorial
Take a look at https://github.com/googleads/googleads-php-lib
It's a php client library including examples on how to do things + a video which is a very good and detailed starting point.
If you already tried to follow Make Your First API Call and video with talk through instead of walkthrough of the steps and you felt confused and unclear, then here is step by step tutorial for you.
Can somebody help me in understanding how to retrieve the home timeline of the user. Examples of how this could be used would be perfect, but if that is too much to ask for, then links to tutorials which start at the beginner would also be great which can go through step by step.
Also what other external files would I need to be able to accomplish this?
check this...There are several links also. this might be useful. http://viralsolani.wordpress.com/2012/05/26/writing-your-first-twitter-application-with-oauth/
I have to use php,mysql to do a prroject.I have chosen to make a simple forum and use a lot of Ajax with it.since i am still a novice, can you guide me to a simple ajax guestbook which i can work on to make a forum? i want to end up with something like this but even simpler. http://board.fuzzylime.co.uk/
It's not terribly complex. Just set up a MySQL database, and use a PHP script to connect to it, check for a login, and add a record for a post or list records to view a post.
If you are just starting out, I would suggest that you first understand the basics of building a forum in PHP.
Personally I liked the forum example in this book . I thought it was explained very well. You can also just google for "PHP forum tutorial" to find a couple examples, like this one and this one.
Once you have the basic idea figured out you can start looking at how to make an AJAX style implementation. For that, you can also just google AJAX tutorials and go from there. Either way, I think if you are going to build a forum, its important to understand the basics behind building a forum before jumping into a more complicated example like an AJAX driven one. Understanding the PHP portion of the application, and the database behind the whole thing is a very important step.
I am going to be creating a website which will require up-to-date prices on certain iPhone apps, which I know is possible because the website AppShopper does just that except they do it with every website. I am not that skilled using PHP though I am a quick learner.
I think that I will need to create a spider/scraper that takes the values from the website though I have done lots of research and I haven't figured it out, though I this may not be what I need. I am not familiar with the creation of spiders, though I am willing to learn. This will not be the key-point of the site so it doesn't need to be the most robust system, I would just like to be able to have it updated the prices
I would appreciate any help or suggestions that anyone has to offer.
There is an official Search API provided by Apple. I haven't used it myself, but it's worth looking into. Read more here.
Simple question really, I've been looking all over the Internet probably for the past few days for several hours a day looking for some solid information on OpenID and Facebook Connect integration on a website.
I have seen the same names popup such as Janrain offering their solution, but I see a lot of websites such as Invision Power Board forums and even here at StackOverflow utilising different solutions.
The main two logins we wish to accept on our site are Facebook and Twitter. I've really been looking for a tutorial, or at least a guide to incorporating this functionality into a PHP website.
If anyone has any information or any pointers that would be great.
Thanks!
I'd start with the official docs. They're pretty good.
http://developers.facebook.com/docs/authentication/
http://dev.twitter.com/pages/sign_in_with_twitter
The twitter one is a little more obtuse, but it's still pretty easy to follow.
For Twitter, just use their simple JavaScript SDK:
http://dev.twitter.com/anywhere/begin
But I would really avoid implementing these services myself. E.g. Twitter anywhere is maybe painless to setup, but then you rely on their JavaScript. It's been down before and then your page takes ages to load or doesn't load at all.
I haven't tried the new Facebook APIs, but 2 years ago, I wasted a way a week of my life trying to integrate their API and the general idea I got was -- unless you know someone at Facebook that can check out some log or let you know why this API doesn't respond like it's supposed to, you're just on your own.
We do use Janrain's engage product (free). It works really, really well.
Dealing with all these services directly is a royal (!) PITA. They are down, change how they work, mis-behave -- it's good to outsource that to someone who seems to know all the ins and outs. In our case Janrain.
There's a copy and paste Facebook login button solution out there. It's also free. It's developed by LaunchBit. You could try that.
http://toolkit.launchbit.com