WordPress API (Application Programming Interface) is very useful; if you are a WordPress user you should be using WordPress API from wordpress.com for your self-hosted one.
You can use WordPress API so for.
To actvate Akismet plugin to catch spam comments
To activate WP-Stats plugin for daily visitor statistics
To use custom background in WP 3.0 for twenty ten theme.
Above plugins would not work without WP API. You should have faced problems with WP API many times as I have faced. First time I used WP API for my blog (This one) to activate Akismet plugin and it worked. I got an API from WordPress.com; I have created an account there. To grab one for you, you also have to register an account. You can create more than one blog with one account but you will have only one API with one account. If you want to register only for API you may not create any blog.
For Akismet plugin you also can get an API form Akismet.com here, this is for personal use only, earning over $500/month are not personal, if you are earning over $500/month you should use commercial one.
Second time I used another API by registering another account on WP.com for WP-Stats plugin it also worked.
I had another blog of mine (not this one) and for that I tried to use my one of old API which is already in use somewhere. And this is where I was wrong.
API was not accepted because it was already in use, so I registered another account with another email on WP.com and got another API. You cannot register more than one account with a single email. I entered my new API but my problem was as is and I left it.
In April I deactivated WP-Stats plugin on my blog (this one) and yesterday I activated it again, it was forgotten its API so it asked again. So here by mistake I repeated my mistake and entered an API that is already in use somewhere else. And plugin told me this API belongs to xyz account. And after that the plugin also remembered its old API. But the old API was not associated with my blog to receive data (this one) and I must had to contact the support. I visited my account on WP.com everything was fine but WP-Stats plugin was unable to use API. But at last I was able to solve this problem.
This problem was happened because of API confliction. Two APIs were conflicting with each other. My single blog was associated with two accounts and APIs, to solve this problem I had to remove association of my blog form one of my accounts. But I could not because I can only associate. I have solved this problem but now I am using second API that I entered by mistake.
I visited my account A (for previous API) on WP.com there everything was OK but WP-stats plugin was unable to use for TechShali. There my blog TechShali was set as primary blog, after I sign out from there. And login to my another account B (the API I entered by mistake) and here my blog TechShali was not as primary one so here also I set it as primary blog and WP-Stats API started working.
Now my blog is associated with two WP accounts and set as primary blog in both accounts but it is working and using seconds account’s API.
If you could not understand how I solved my problem you can contact WordPress here and tell them all your problem with detail and they will solve it.
Most Related Post
Previous post: 8 WordPress Popular Posts Plugins
Next post: TechShali is Now Powered by Thesis Theme
{ 0 comments… add one now }