This is a basic bitly integration for WordPress. Based on the Simple PHP Library by Kevin Marshall & Robin Monks, this uses the wp_remote_get() and wp_remote_post() (to-do) functions within WordPress.
This will be used in the upcoming (v.1.4.5) version of Inline Tweet Sharer.
- Integration with
wp_remote_post
I've kept the function names the same as the original file, please refer to the Simple PHP Library with how to integrate it within your software.
If you have any questions or comments, drop me a message on Github, tweet me @rhyswynne/@WinwarUK, or drop me an email
Extra Modifications Copyright 2014 Rhys Wynne
Copyright 2010 Kevin Marshall.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.