Showing posts with label content. Show all posts
Showing posts with label content. Show all posts
Monday, December 11, 2017
How To use Blogger API v3 to use Blogger content in Client Applications
How To use Blogger API v3 to use Blogger content in Client Applications
![]() |
www.hackserialkey.com |
Are you a developer who likes to blog? You can use the Google Blogger API to create amazing Blogger client applications of your own! The Blogger API v3 allows external applications to view and update Blogger content. Your client application can use Blogger API v3 to create new blog posts, edit or delete existing posts, and query for posts that match particular criteria. You can use this API to create desktop and browser apps and create a whole new user-base of your own.
What is the Blogger API and what can you do with it?
An API, or Application Package Interface is a set of commands you can call, or interface with, from an external application. The developers of an application provides APIs if they want other developer to create apps and interact with their own.
Similarly, the Blogger team has created an API of its own that allows external developers to interact with the Blogger content management system. With this API, you can;
- Add posts, pages and comments from your Blogger blog to a non-blogger website
- Create desktop software that allows users to create or edit Blogger posts from their desktop computers
- Create browser and mobile-based apps that serve the same purpose as above
Basics
First, you need to know some of the basics of objects and resources available in the API. There are five types of resources currently available.
- Blogs - A blog resource represents a full Blogger blog. A user may have more than one Blogger blogs, so the control of multiple blogs is handled by the blogs resource. You can use it to list all the blogs a user has access to, or get a single blog by its ID.
- Posts - A post resource represents a post on a blog, and each is a child of the blog resource. A posts collection contains all the post resources within a blog resource.
- Comments - A comment resource represents a comment on a blog post, and is logically a child object of the respective post resource. A comments collection is a list of all comments under a posts (parent) resource.
- Pages - A blog has static pages which inherit from the blog (as child objects).
- Users - A user resource represents a non-anonymous user, and is used to identify the author of a blog post, page, or comment. A users collection is a list of all the (global) user resources on Blogger. For privacy reasons, a list of all the users on Blogger cannot be listed. However, you can retrieve your own user resource by your unique ID (or by using the self identifier)

API Reference
Here is a list of methods as described in the Blogger API v3 reference.
Operation | Description | REST HTTP mappings |
---|---|---|
list | Lists all resources within a collection | GET on a collection URI |
get | Gets a specific resource | GET on a resource URI |
getByUrl | Gets a resource, looking it up by URL | GET with the URL passed in as a parameter |
getByPath | Gets a resource by looking it up by its path | GET with the Path passed in as a parameter |
listByUser | Lists resources owned by a User | GET on a user owned collection |
search | Search for resources, based on a query parameter | GET on a Search URL, with the query passed in as a parameter |
insert | Create a resource in a collection | POST on a collection URI |
delete | Deletes a resource | DELETE on a resource URI |
patch | Update a resource, using Patch semantics | PATCH on a resource URI |
update | Update a resource | PUT on a resource URI |
The following table matches the resource types in the API (which we discussed earlier) with the methods they support.
Resource Type | Supported Methods | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
list | get | getByUrl | getByPath | listByUser | search | insert | delete | patch | update | |
Blogs | ? | ? | ? | ? | ? | ? | ? | ? | ? | ? |
Posts | ? | ? | ? | ? | ? | ? | ? | ? | ? | ? |
Comments | ? | ? | ? | ? | ? | ? | ? | ? | ? | ? |
Pages | ? | ? | ? | ? | ? | ? | ? | ? | ? | ? |
Users | ? | ? | ? | ? | ? | ? | ? | ? | ? | ? |
You can use these methods to develop a fully functional Blogger app. There are various ways of invoking these methods. You can use HTTP client-side commands, or from JavaScript. You can also develop using client libraries on any one of the following platforms.
- .NET
- Java
- PHP
- Python
- Ruby
- Go
- GWT
- JavaScript
- Node.js
- Objective-C
We will talk more about these client libraries, and calling methods in a future post. In the meantime, if you have any questions regarding the functionality of this API or its methods, please feel free to ask in the comments section below. Cheers :)
:::::::::::::::::::::::::::::By:-SJSM -THE HARYANVI
Friday, December 8, 2017
India is in tops list of requests for blocking content on Facebook
India is in tops list of requests for blocking content on Facebook
New Delhi: Indian law enforcement agencies requested Facebook to block content in 4,765 instances citing local laws between July and December last year, the largest by any country.
The social networking giant said it blocked content after government officials and the Indian Computer Emergency Response Team (ICERT) reported that such posts were violating laws like criticising a religion or the state.
As per data from the second Government Requests Report by the California-headquartered firm, India made the highest requests for restricting content, followed by Turkey (2014), Pakistan (162), Israel (113), Germany (84) and France (80).
Indian law enforcement agencies requested Facebook to block content in 4,765 instances citing local laws between July and December last year, the largest by any country.
On blocking content, Facebook said: "We restricted access in India to a number of pieces of content reported primarily by law enforcement officials and the ICERT under local laws prohibiting criticism of a religion or the state."
Facebooks report also revealed that India made the second largest number of user requests at 3,598 after the US, which sought information on about 12,598 Facebook users in the second half of 2013.
In India - which accounts for over 100 million Facebook users, second only to the US - law enforcement entities made 3,598 requests for information on 4,711 users in the last six months of 2013, Facebook said.
In total, Facebook received more than 28,000 government data requests during July-December 2013.
Following requests from the US and India were that of the UK (1,906 requests), Italy (1,699), Germany (1,687) and France (1,661).
It said governments they may contact firms (like Facebook) to restrict access to content on the Internet that it believes violates their laws.
"Requests are scrutinised to determine if the specified content does indeed violate local laws. If, after a thorough legal analysis, we determine content appears to violate local law, then we make it unavailable in the relevant country or territory," it added.
Subscribe to:
Posts (Atom)