Welcome Guest, Not a member yet? Register   Sign In
A Plurk API Library for CodeIgniter

A Plurk API Module for CodeIgniter

Welcome to the home of the Plurk API Library, a project that will help you to get all your plurk data and implement your application with Plurk data.

Introduction of Plurk API

Plurk API provides a standard way of accessing and implementing applications on top of the Plurk platform. The API is a simple HTTP API that can be accessed from any language that supports creation of HTTP requests.

ref : http://www.plurk.com/API/1.0

Install From Spark

Please referrer http://getsparks.org/packages/codeigniter-plurk/show

Install From Github

Download all file from this site. http://github.com/appleboy/CodeIgniter-Plurk-API

$ http://github.com/appleboy/CodeIgniter-Plurk-API/archives/master
$ git://github.com/appleboy/CodeIgniter-Plurk-API.git

Copy some files into directory.

$ copy controllers/plurk_test.php your_application/controllers/
$ copy config/plurk_config.php your_application/config/
$ copy config/plurk_constant.php your_application/config/
$ copy libraries/Plurk.php your_application/libraries/

Edit config/plurk_config.php, and configure your api key, plurk username, and plurk password

$config['plurk_api_key'] = "xxxxx";
$config['plurk_username'] = "xxxxx";
$config['plurk_password'] = "xxxxx";

default path of cookie and log files are application/logs, change permission to writable.

$ chown -R www_user:www_group logs

Test your controller file: welcome.php


Reference Implementations:

* php-plurk-api: PHP implementation of this API http://code.google.com/p/php-plurk-api/


Copyright © 2009~2011 Bo-Yi Wu ( appleboy AT gmail.com )

This program is free software; you can redistribute it and/or modify it under the same terms as CodeIgniter itself.

My Blog: http://blog.wu-boy.com/2009/12/30/1920/
Git Hub: http://github.com/appleboy/CodeIgniter-Plurk-API

Upgrade for CodeIgniter 2.0

when I using Codeigniter v2.0, I got blank page

[quote author="reka" date="1304590535"]when I using Codeigniter v2.0, I got blank page[/quote]

It is working with CodeIgniter 2.0.2, please check application/logs/plurk_log file which shows error message when you got blank page:

Quote:date: 2011-05-06 10:38:29
username: xxxxxxxxxxxx
message: You are not login.
data_dump: Array
[username] => xxxxxxxxxxxx
[password] => xxxxxxxxxxxx
[api_key] => xxxxxxxxxxxx

PS. please check log file and directory permission 0777.

Update version to 1.0.1 for spark


or download from github


Theme © iAndrew 2016 - Forum software by © MyBB