定制 j3j5/control_my_followers 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

j3j5/control_my_followers

Composer 安装命令:

composer require j3j5/control_my_followers

包简介

Tool for Twitter that makes everybody who you don't follow, unfollow you (in case they were already your followers)

README 文档

README

Tool for Twitter that makes everybody who you don't follow, unfollow you (in case they were already your followers)

Installation

Install via Composer (make sure you have composer in your path or in your project).

Add j3j5/control_my_followers to composer.json.

"j3j5/twitterapio": "dev-master"

Run composer update to pull down the latest version of Twitter.

Use

You will need a Twitter APP in order to use this library, you must go to Twitter apps and login there, create an app with Read and Write permissions and then copy your settings into the settings array in tests/clean_followers_list.php

You should see an array like this on top of the file, copy paste your details from Keys and Access Tokens tab once your app is created at Twitter apps.

$twitter_settings = array(
	'consumer_key'		=> 'YOUR_CONSUMER_KEY',
	'consumer_secret'	=> 'YOUR_CONSUMER_SECRET',
	'username'		=> 'YOUR_CONSUMER_KEY',
	'token'				=> 'A_USER_TOKEN',
	'secret'			=> 'A_USER_TOKEN_SECRET',
);

In order to run the script, just go to wherever you've cloned the project and run: (the safe is optional, just for safe mode, if you decide to use it goes WITHOUT the brackets)

$ php tests/clean_followers_list.php [safe]

That's it!

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPLv3
  • 更新时间: 2015-03-10