Home > Backend Development > PHP Tutorial > javascript - 新浪微博或人人的上传图片是怎么实现的

javascript - 新浪微博或人人的上传图片是怎么实现的

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:51:37
Original
1097 people have browsed it

新浪微博或人人的上传图片是怎么实现的,本人是新手,麻烦讲的详细点?

回复内容:

新浪微博或人人的上传图片是怎么实现的,本人是新手,麻烦讲的详细点?

像这些都是调用API的。新手刚刚接触的时候可以感到有点陌生也是正常的。

主要就是去看官方的API文档。http://open.weibo.com/development

别怕别人给你减分,不懂还是要来问的。不过最好要养成查阅官方文档的习惯。

一般没有人能够比文档更加清楚得告诉你得。

到官方api文档里找你需要的语言的sdk。然后你可以看人家demo里是怎么实现的

前端基本上是以ajax实现. 利用js, post图片文件到服务器

使用form表单提交ajax实现:

http://jquery.malsup.com/form/#getting-started

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template