Download the PHP package littlemo/weibo without Composer

On this page you can find all versions of the php package littlemo/weibo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package weibo

微博 LittleMo

Total Downloads Latest Stable Version Latest Unstable Version PHP Version License

介绍

php常用工具库

安装教程

composer.json

使用说明

获取授权过的Access Token

OAuth2的access_token接口

示例代码

返回示例

官方文档

get_token_info

查询用户access_token的授权相关信息,包括授权时间,过期时间和scope权限。

示例代码

返回示例

官方文档

revokeoauth2

授权回收接口,帮助开发者主动取消用户的授权。

示例代码

返回示例

官方文档

show

根据用户ID获取用户信息

示例代码

参数uid与screen_name二者必选其一,且只能选其一; 接口升级后,对未授权本应用的uid,将无法获取其个人简介、认证原因、粉丝数、关注数、微博数及最近一条微博内容。

返回示例

官方文档

domain_show

通过个性化域名获取用户资料以及用户最新的一条微博

示例代码

接口升级后,对未授权本应用的uid,将无法获取其个人简介、认证原因、粉丝数、关注数、微博数及最近一条微博内容。

返回示例

官方文档

jsapi_ticket

jsapi_ticket 是网页用于调用微博客户端内JS接口的临时票据

示例代码

其中,js_ticket 为需要获取的 jsapi_ticket ,expire_time 为过期时间。

返回示例

官方文档

签名算法

jsapi_ticket 是网页用于调用微博客户端内JS接口的临时票据

示例代码
参数 参数 类型 是否必填 说明
jsapi_ticket string Y 网页用于调用微博客户端内JS接口的临时票据
noncestr string N 随机字符串
timestamp string N 时间戳
url string N 当前网页的URL,不包含#及其后面部分
client_id string Y 申请应用时分配的AppKey。

其中,js_ticket 为需要获取的 jsapi_ticket ,expire_time 为过期时间。

返回示例

示例

官方文档

参与贡献

  1. littlemo

特技


All versions of weibo with dependencies

PHP Build Version
Package Version
Requires php Version ^7.0
littlemo/utils Version ~1.0.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package littlemo/weibo contains the following files

Loading the files please wait ....