Skip to main content

Google API v3 with PHP using Blogger service

It was really hard for me to understand how the Google APIs are working at the first point and took few days for me to figure out. But after a successful working prototype it seems very easy. And also when I am searching for a simple example I was unable to find a good one that I can understand.

So let me list down step by step what I have done with URLs and as simple as I can.

  1. Create a Google app
    1. location - https://code.google.com/apis/console
  2. Switch on the "Blogger API v3"
  3. Get the latest APIs client library for PHP
    1. location - https://code.google.com/p/google-api-php-client/downloads/list
  4. Upload the files to your host location on on localhost
  5. Extract the files to folder  named "GoogleClientApi"
  6. Create your php file outside of the folder 
  7. Copy paste following code into the file and do the changes as needed 
By changing the scope and the service object you can access all the services that is given by Google APIs through the PHP API library set given.
If there is anything needed to be clarified please leave a comment.

<?php
session_start();
require_once dirname(__FILE__).'/GoogleClientApi/src/Google_Client.php';
require_once dirname(__FILE__).'/GoogleClientApi/src/contrib/Google_BloggerService.php';

$scriptUri = "http://".$_SERVER["HTTP_HOST"].$_SERVER['PHP_SELF'];

$client = new Google_Client();
$client->setAccessType('online'); // default: offline
$client->setApplicationName('giaws'); //name of the application
$client->setClientId('345345345645.apps.googleusercontent.com'); //insert your client id
$client->setClientSecret('JHJUGHJH6556vhjVHJKds'); //insert your client secret
$client->setRedirectUri($scriptUri); //redirects to same url
$client->setDeveloperKey('jhvjhhj6fvdfvfdv763248732QHGHJBHJ'); // API key (at bottom of page)
$client->setScopes(array('https://www.googleapis.com/auth/blogger')); //since we are going to use blogger services

$blogger = new Google_BloggerService($client);

if (isset($_GET['logout'])) { // logout: destroy token
    unset($_SESSION['token']);
 die('Logged out.');
}

if (isset($_GET['code'])) { // we received the positive auth callback, get the token and store it in session
    $client->authenticate();
    $_SESSION['token'] = $client->getAccessToken();
}

if (isset($_SESSION['token'])) { // extract token from session and configure client
    $token = $_SESSION['token'];
    $client->setAccessToken($token);
}

if (!$client->getAccessToken()) { // auth call to google
    $authUrl = $client->createAuthUrl();
    header("Location: ".$authUrl);
    die;
}
//you can get the data about the blog by getByUrl
$data = $blogger->blogs->getByUrl(array('url'=>'http://puwaruwa.blogspot.com/'));

//creates a post object
$mypost = new Google_Post();
$mypost->setTitle('this is a test 1 title');
$mypost->setContent('this is a test 1 content');

$data = $blogger->posts->insert('546547654776577', $mypost); //post id needs here - put your blogger blog id
 var_dump($data);
?>

Comments

  1. hello sir

    im using same script as here for post on my blogger, but i get error as

    "error": {
    "errors": [
    {
    "domain": "usageLimits",
    "reason": "accessNotConfigured",
    "message": "Access Not Configured"
    }
    ],
    "code": 403,
    "message": "Access Not Configured"
    }

    pls help me.

    ReplyDelete
  2. Hi Vijay,
    have u done the step
    -- Switch on the "Blogger API v3"
    seems like that is the issue.
    It takes some time and u may have to send a mail to activate blogger API service.

    ReplyDelete
  3. yes i send request but still its off, i hope its reason for error.
    same error occurs while i fetch through url with my API key

    https://www.googleapis.com/blogger/v3/blogs/560242224718758304/posts/333295137170484745?key={API-key}

    thanks a lot,
    God Bless You.

    ReplyDelete
  4. Great job Gayan, you know an equivalent in c#?
    Thanks in advance.

    ReplyDelete
  5. I'm truly enjoying the design and layout of your site. It's a very easy on the eyes which makes it much more pleasant for me to come here and visit more often. Did you hire out a designer to create your theme? Great work!
    seo service provider

    ReplyDelete
    Replies
    1. Rails is basically a web application framework, which is consist of everything needs to create database baked web application. It helps the developers to create websites and applications by providing structures for all codes written by them. Moreover, common repetitive tasks are simplified with the help of this technology.
      ruby on rails software house
      Popular rails gems and APIs
      Websites made with ruby
      Best ruby gems 2019
      React native and React Js
      Node Js and React Js

      Delete
  6. I am geting this error Fatal error: Call to undefined function setaccesstype()
    how to fix that error

    ReplyDelete
  7. I m getting same error too....Fatal error: Call to undefined function setaccesstype()

    ReplyDelete
  8. it should be actually '$client->setAccessType('online'); // default: offline'

    ReplyDelete
  9. Ohhh thanks Luckyy Cool. I fixed it.

    ReplyDelete
  10. Thats okay Gyan, I have got all the access for the app now and I don't know what is missing. I created a new client id as - 'web application' type, set the redirect URI as 'www.mysite.blogspot.in/oauth2callback' but when i run the script above (after setting credentials) it asks for permission then redirects me to this page but saying page not found. I guess there is someting wrong with redirect uri....do i need to have a folder like oauth2callback on my server ??

    ReplyDelete
  11. I got it working thanks. It should be correct url. how silly haha.

    ReplyDelete
  12. if i want to post blog with different username and passwords ?

    ReplyDelete
    Replies
    1. I do not know how to do this. I do not think this is possible since I have not seen APIs that allows like that.

      Delete
  13. Dear Gayan,

    I have submitted my access request, how long will it take for my form to get approved?


    Thank you.
    Jo

    ReplyDelete
  14. hello, i incorrect :(

    Warning: rawurlencode() expects parameter 1 to be string, array given in D:\xampp\htdocs\GoogleAPI\src\io\Google_REST.php on line 109

    Fatal error: Uncaught exception 'Google_ServiceException' with message 'Error calling GET https://www.googleapis.com/blogger/v3/blogs/byurl?url=&key=AIzaSyBIGW9Z__a9CD9WLHQufs78CZoMRAydNhw: (404) Not Found' in D:\xampp\htdocs\GoogleAPI\src\io\Google_REST.php:66 Stack trace: #0 D:\xampp\htdocs\GoogleAPI\src\io\Google_REST.php(36): Google_REST::decodeHttpResponse(Object(Google_HttpRequest)) #1 D:\xampp\htdocs\GoogleAPI\src\service\Google_ServiceResource.php(186): Google_REST::execute(Object(Google_HttpRequest)) #2 D:\xampp\htdocs\GoogleAPI\src\contrib\Google_BloggerService.php(88): Google_ServiceResource->__call('getByUrl', Array) #3 D:\xampp\htdocs\GoogleAPI\blog.php(41): Google_BlogsServiceResource->getByUrl(Array) #4 {main} thrown in D:\xampp\htdocs\GoogleAPI\src\io\Google_REST.php on line 66

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
    2. I am having the same issue how to resolve it please guide me if you have got that.
      Softweb Tuts

      Delete
  15. Replies
    1. Audacity24 as an offshore e-Commerce website development company provides a wide range of online business solutions in web and mobile space.
      E-commerce has achieved an important place in industry. Just like conventional business e-commerce has aspects of business transactions by having elements of selling, buying and payment but with use of internet that is major point of difference. The idea of e-commerce is to help the traders in grabbing more customers online from all over the world. The aim of e-commerce is to provide a flexible and fast way of trade for its users by rising significance of online stores.
      PHP. Shopify, Wordpress, Laravel
      Best Ecommerces Company Audacity24
      Websites made with PHP and Shopify
      Best ruby gems 2019
      React native and React Js
      Node Js and React Js


      Delete
  16. I can't find Client Secret. Can you help me?

    ReplyDelete
  17. Im getting Fatal error: when im trying to call below method while adding blogger post
    $post->setCustomMetaData("");

    ReplyDelete
  18. I got error (403) Access Not Configured. Please use Google Developers Console to activate the API for your project. please help .

    ReplyDelete
  19. Can anyone say me how to get my blog id.

    ReplyDelete
  20. 404 error Error: redirect_uri_mismatch error plz help

    ReplyDelete
  21. Good One :)

    Thanks
    Aman (php-tutorial-php.blogspot.in)

    ReplyDelete
  22. I'm not able to create of Post class getting error Class 'Google_Post' not found. I'm using this class Google_Service_Blogger

    ReplyDelete
    Replies
    1. Google_Post() is no longer valid kindly use
      $mypost = new Google_Service_Blogger_Post();
      $mypost->setTitle('This is a Test Post !');

      Delete
  23. this is not working now days and the latest client lib dose not contains any file like this "/GoogleClientApi/src/Google_Client.php"

    reply please

    ReplyDelete
    Replies
    1. it still works!
      here is what you ought to do:
      require_once dirname(__FILE__) . '/../src/Google/autoload.php';

      kindly include only the autoload.php and every thing would work just fine.

      Thank you!

      Delete
  24. For newest lib:
    require_once( 'GoogleClientApi/src/Google/autoload.php' );

    ReplyDelete
  25. Given library deprecated, can you share latest one

    ReplyDelete
  26. i have error like this
    Warning: rawurlencode() expects parameter 1 to be string, array given in C:\xampp\htdocs\LiveSoccerUpdate\XmlDUMP\GoogleClientApi\src\io\Google_REST.php on line 109

    please help me. thanks

    ReplyDelete
  27. It's very good, but you may update this post and explain this better, because actually is not working.

    I would apreciate your help, .... thanks

    ReplyDelete
  28. Also if someone can, please explain me how to login and use the blogger api directly, the console api fields and the login fields, thanks

    ReplyDelete
  29. how to set label and post date ?

    ReplyDelete
  30. i set but i receive this error can you guide me whats the problem

    Fatal error: Uncaught exception 'Google_AuthException' with message 'Error fetching OAuth2 access token, message: 'invalid_grant'' in C:\xampp\htdocs\GoogleClientApi\src\auth\Google_OAuth2.php:115 Stack trace: #0 C:\xampp\htdocs\GoogleClientApi\src\Google_Client.php(127): Google_OAuth2->authenticate(Array, NULL) #1 C:\xampp\htdocs\raminautoposttobloggervgoogleapiv3.php(39): Google_Client->authenticate() #2 {main} thrown in C:\xampp\htdocs\GoogleClientApi\src\auth\Google_OAuth2.php on line 115

    ReplyDelete
  31. i do not undertstand how fill in?

    ReplyDelete
  32. hello Gayan what's the problem , could you help me please ?


    Fatal error: Uncaught exception 'Google_ServiceException' with message 'Error calling GET https://www.googleapis.com/blogger/v3/blogs/byurl?url=&key=my api key: (403) There is a per-IP or per-Referer restriction configured on your API key and the request does not match these restrictions. Please use the Google Developers Console to update your API key configuration if request from this IP or referer should be allowed.' in /home/xxxxxx/public_html/GoogleClientApi/src/io/Google_REST.php:66 Stack trace: #0 /home/xxxxxx/public_html/GoogleClientApi/src/io/Google_REST.php(36): Google_REST::decodeHttpResponse(Object(Google_HttpRequest)) #1 /home/u102235337/public_html/GoogleClientApi/src/service/Google_ServiceResource.php(186): Google_REST::execute(Object(Google_HttpRequest)) #2 /home/xxxxxx/public_html/GoogleClientApi/src/contrib/Google_BloggerService.php(88): Google_ServiceResource->__call('getByUrl', Array) #3 /home/xxxxxx/public_html/blogergonder.php(40): Google_BlogsServiceResour in /home/xxxxxx/public_html/GoogleClientApi/src/io/Google_REST.php on line 66

    ReplyDelete
  33. Warning: rawurlencode() expects parameter 1 to be string, array given in /home/xxxxxx/public_html/GoogleClientApi/src/io/Google_REST.php on line 109

    ReplyDelete
  34. Wenn die Suche nach Dienstleistungen E-Commerce- Website-Entwicklung und Design sind hier beste E-Commerce- Design und Entwicklungsdienstleistungen . Bitte kontaktieren Sie uns unter http://www.accuratesolutionsltd.com/kontaktieren-sie-uns/

    ReplyDelete
  35. i can't use it...could you please help. I can't get the api to work.

    ReplyDelete
  36. The ERROR i am getting is:
    The redirect URI in the request, http://localhost:8080/zer/test2.php, does not match the ones authorized for the OAuth client. Visit https://console.developers.google.com/apis/credentials/oauthclient/930000822425-0g008l4h84iugas0l73v6b2atfep8ef5.apps.googleusercontent.com?project=930000822425 to update the authorized redirect URIs.

    ReplyDelete
  37. //you can get the data about the blog by getByUrl
    $data = $blogger->blogs->getByUrl(array('url'=>'http://puwaruwa.blogspot.com/'));
    replace with
    $data = $blogger->blogs->getByUrl( 'http://puwaruwa.blogspot.com/' );

    ReplyDelete
  38. This comment has been removed by the author.

    ReplyDelete
  39. This information is really useful. Keep sharing these kind of useful updates.

    PHP Training in Chennai

    ReplyDelete
  40. Thank you for sharing your article. Great efforts put it to find the list of articles which is very useful to know, Definitely will share the same to other forums.

    best openstack training in chennai | openstack course fees in chennai | openstack certification in chennai | redhat openstack training in chennai

    ReplyDelete
  41. Thank you for sharing your article. Great efforts put it to find the list of articles which is very useful to know, Definitely will share the same to other forums.

    best openstack training in chennai | openstack course fees in chennai | openstack certification in chennai | redhat openstack training in chennai

    ReplyDelete
  42. Excellent website. Lots of useful information here, thanks in your effort! . For more information please visit There are so many companies which are performing as php Website development in USA. Php is extensively used open source platform that supports millions of websites all over the world. It is one of the most flexible languages that offer developers different opportunities for developing the websites on Php platform. Many of the companies of Php website development in the USA are adding the various features as per the future needs & requirements of the customers. It also includes a feature in which it can embed with any third party app & allows adding different feature. It includes so many advantages of technology over competitors. php Website development in USA comes with multiple applications that are built previously & includes features of large supporting. INFIN Technologies is one of best company of Php website development in the USA which offers so many services or solutions both.

    ReplyDelete
  43. Very nice post here and thanks for it .I always like and such a super contents of these post.Excellent and very cool idea and great content of different kinds of the valuable information's.
    Best Devops Training in pune
    Microsoft azure training in Bangalore
    Power bi training in Chennai

    ReplyDelete

  44. very interesting post. Thanks for sharing content and such nice information for me. I hope you will share some more content about. google api v3 with php Please keeps sharing!

    altsols

    ReplyDelete

  45. It seems you are so busy in last month. The detail you shared about your work and it is really impressive that's why i am waiting for your post because i get the new ideas over here and you really write so well.

    Selenium training in Chennai

    ReplyDelete
  46. Very good brief and this post helped me alot. Say thank you I searching for your facts. Thanks for sharing with us!

    Python Online certification training
    python Training institute in Chennai
    Python training institute in Bangalore

    ReplyDelete
  47. Your blog is so much informative
    My vote goes to your blog and article
    we provide Tally WhatsApp API service

    ReplyDelete
  48. Thanks For Your valuable posting, it was very informative

    opencu
    Article submission sites

    ReplyDelete
  49. Thanks for Sharing an Information to us . If Someone wants to know about Digital Marketing Course and Web Development Courses. I think this is the right place for you.
    SEO Courses in coimbatore and Digital Marketing Courses in Coimbatore

    ReplyDelete
  50. This comment has been removed by the author.

    ReplyDelete
  51. Nice blog Content.It is very informative and helpful. Please share more content. Thanks.
    PHP Training in Gurgaon

    ReplyDelete
  52. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.

    white label website builder

    ReplyDelete
  53. This comment has been removed by the author.

    ReplyDelete
  54. Superb. I really enjoyed very much with this article here. Really it is an amazing article I had ever read. I hope it will help a lot for all. Thank you so much for this amazing posts and please keep update like this excellent article.thank you for sharing such a great blog with us. expecting for your.
    Hacking Course in Coimbatore
    Ethical Hacking Course in Coimbatore
    Android Training in Coimbatore
    CCNA Course in Coimbatore
    Cloud Computing Courses in Coimbatore
    Digital Marketing Training in Coimbatore
    Embedded course in Coimbatore
    German Classes in Coimbatore

    ReplyDelete
  55. Software entwicklung in Germany - Kliff Technologies bietet hochwertige Software entwicklungs dienste für iPhone, iPad, Windows Mobile usw. zu erschwinglichen Preisen an. Rufen Sie jetzt an + 49-800-182-9035.

    ReplyDelete
  56. outsourcingall.com "Usually I never comment on blogs but your article is so convincing that I never stop myself to say something about it.
    This paragraph gives clear idea for the new viewers of blogging, Thanks you. You’re doing a great job Man, Keep it up.
    Seo training
    Seo training in dhaka
    SEO Services in bangladesh

    ReplyDelete
  57. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.thanks for your information really good and very nice web design company in velachery web design company in chennai

    ReplyDelete
  58. This comment has been removed by the author.

    ReplyDelete
  59. Thank you for sharing the wonderful article. It provides great information and looking beautiful blog.
    Machine Learning Datasets | AI support
    Php Development Company
    Python Development Company

    ReplyDelete
  60. WOW!!!
    Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.. Web Data Extraction Services
    PHP Services
    Ecommerce Service Provider
    Data Extraction Services Company
    Magento Service Providers

    ReplyDelete
  61. Thank you for sharing your article

    ReplyDelete
  62. Got a complete idea from this post. Thanks for sharing this informative blog. Keep sharing with us like this.
    Regards,
    Best appointment scheduling software
    ERP Services
    Big data development company in Chennai
    PHP Services

    ReplyDelete
  63. Your post on API is very helpful. Thank you for sharing this information.
    API Web Development Services

    ReplyDelete
  64. Thank you for writing this informative post. Looking forward to read more.
    Best API Integration Services India

    ReplyDelete
  65. Thanks for the informative post. We are a small web development studio and this would be helpful.
    www.CodeAlilgnWorks.com - Top Web Development Company for In Budget IT Sservices

    ReplyDelete
  66. You write this post very carefully I think, which is easily understandable to me. Not only this, but another post is also good. As a newbie, this info is really helpful for me. Thanks to you.

    ReplyDelete
  67. fast secure contact form for setup contact form with captcha and secure in your wordpress site

    ReplyDelete
  68. fast secure contact form for setup contact form with captcha and secure in your wordpress site

    ReplyDelete
  69. Good day! I could have sworn I've been to this ste before but after reading through some of the post I realiized it's new to me.
    Anyhow, I'm definitely glad I found it and I'll be book-marking
    and checking back often!

    ReplyDelete
  70. Thanks for the post about PHP for Beginners. It was really helpful, I am interested to join PHP training in Chennai.

    ReplyDelete
  71. This comment has been removed by the author.

    ReplyDelete
  72. Thanks for sharing these awesome article upon php development company, I hope that in future you will continue to share these wonderful posts. Thank you for your hard work!!

    ReplyDelete
  73. Coding is not a necessary skill in data visualization and analysis in this article, we will show you the best no code tools that are easy to use, have great graphic designs and contain more features to make your visualization sophisticated.
    Read More: https://ppcexpo.com/blog/best-no-code-tools

    ReplyDelete
  74. Really I enjoy your site with effective and useful information. It is included very nice post with a lot of our resources.thanks for share. i enjoy this post. PHP essentials

    ReplyDelete
  75. Nice article and very good information. For Salesforce Dumps (Admin, Developer, Service Cloud, Marketing Cloud etc…) Click Salesforce Dumps

    ReplyDelete
  76. Hi dear,

    Thank you for this wonderful post. It is very informative and useful. I would like to share something here too.Travel portal solution is one of the popular website in India providing B2B and B2C travel portal development, white label solutions ,GDS/XML API integration services for travel related website.


    Flight Api Integration


    ReplyDelete
  77. Консоли от корпорации Microsoft не сразу завоевали всемирную популярность и доверие игроков. Первая консоль под названием Xbox, вышедшая в далеком 2001 году, значительно уступала PlayStation 2 по количеству проданных приставок. Но все изменилось с выходом Xbox 360 - консоли седьмого поколения, которая стала по-настоящему "народной" для обитателей Рф и стран СНГ - http://ru-xbox.ru/load/1/1/2. Интернет-сайт Ru-Xbox.Ru является пользующимся популярностью ресурсом среди поклонников приставки, поскольку он предлагает игры для Xbox 360, которые поддерживают все имеющиеся версии прошивок - совершенно бесплатно! Для чего играть на оригинальном железе, если имеется эмуляторы? Для Xbox 360 игры выходили длительное время и находятся как посредственными проектами, так и хитами, многие из которых даже сейчас остаются уникальными для это консоли. Некие пользователи, желающие сыграть в игры для Xbox 360, могут задать вопрос: для чего необходимы игры для прошитых Xbox 360 freeboot либо различными версиями LT, если есть эмулятор? Рабочий эмулятор Xbox 360 хоть и существует, но он требует производительного ПК, для покупки которого потребуется вложить существенную сумму. К тому же, различные артефакты в виде исчезающих текстур, недостатка некоторых графических эффектов и освещения - могут изрядно попортить впечатления об игре и отбить желание для ее предстоящего прохождения. Что предлагает этот портал? Наш сайт на сто процентов посвящен играм для приставки Xbox 360. У нас можно совсем бесплатно и без регистрации скачать игры на Xbox 360 через торрент для следующих версий прошивок консоли: - FreeBoot; - LT 3.0; - LT 2.0; - LT 1.9. Каждая прошивка имеет свои особенности обхода интегрированной защиты. Потому, для запуска той либо иной игры будет нужно скачать специальную ее версию, которая вполне приспособлена под одну из 4 вышеперечисленных прошивок. На нашем сайте можно без труда подобрать желаемый проект под нужную прошивку, поскольку возле каждой игры присутствует название версии (FreeBoot, LT 3.0/2.0/1.9), под которую она приспособлена. Геймерам данного ресурса доступна особая категория игр для 360-го, созданных для Kinect - специального дополнения, которое считывает все движения 1-го либо нескольких игроков, и позволяет управлять с их помощью компьютерными персонажами. Большой выбор ПО Кроме возможности загрузить игры на Xbox 360 Freeboot или LT различных версий, здесь вы можете подобрать программное обеспечение для консоли от Майкрософт: - разные версии Dashboard, которые позволяют кастомизировать интерфейс консоли под свои нужды, сделав его более комфортным и современным; - браузеры; - просмотрщики файлов; - сохранения для игр; - темы для консоли; - программы, для конвертации образов и записи их на диск. Помимо перечисленного выше игры на Xbox 360 Freeboot вы можете запускать не с дисковых, а с USB и прочих носителей, используя программу x360key, которую вы можете достать на нашем интернет-сайте. Посетителям доступно огромное количество полезных статей, а также форум, где можно пообщаться с единомышленниками или попросить совета у более опытных владельцев консоли.

    ReplyDelete
  78. Thanks for sharing this article here about the church book publishing services. Your article is very informative and I will share it with my other friends as the information is really very useful. Keep sharing your excellent work.
    digital publishing services company

    digital publishing services

    ReplyDelete
  79. Thanks for sharing this article here about the church book publishing services. Your article is very informative and I will share it with my other friends as the information is really very useful. Keep sharing your excellent work.

    ecommerce catalogue management services

    ecommerce services provider in india

    ReplyDelete

  80. very Good Information. Thanks for sharing

    #Webmedia Education

    Best Web Designing Course In Jaipur
    Web Development and Designing training in Jaipur


    Best Web Designing Course In Jaipur

    ReplyDelete
  81. I have error 500 after Google Login https://pruebas.marceloherrera.com.ar

    ReplyDelete
  82. The synergy between Google APIs and SEO APIs is a game-changer in the digital landscape. Google APIs provide invaluable data and services that are crucial for SEO strategies. From leveraging Google Search Console data to enhancing website performance through Google Maps integration, these APIs offer unparalleled insights and functionality. When combined with SEO APIs, they create a dynamic toolkit for optimizing websites, tracking rankings, and staying ahead in the competitive world of online visibility. It's a winning partnership that ensures businesses and websites are at the forefront of search engine success.

    ReplyDelete
  83. The article beautifully depicts the human side of a website development company , creating a tapestry of collaborative efforts and shared passion. Individuals collaborate in this digital realm, weaving their skills together to create a collective masterpiece.

    ReplyDelete

Post a Comment

Popular posts from this blog

My two cents on new year resolution

What is the plan for the new year ? - need to think on what are we trying achieve during next year 2018 - basically the life goals - may be personal or professional - and also it should be realistic (not something like going to Mars ;)) Why we need a plan for the new year ? - basically a goal without a plan is a DREAM - And also should be able to measure (what you cannot measure, you cannot manage) How to prepare a new Year resolution/plan ? - Leave some buffer time - Make changes during the year (life is changing/evolving) - Plan is only for you (do not share it) - When a milestone is achieved, celebrate - Try to stick to the plan - otherwise no point of planing

Assets and Liabilities as Rich Dad, Poor Dad explains

I was reading "The rich dad poor dad by Robert Kiyosaki" here is a one point that he mentions on that. Basically Asset as he says is little bit different than on books. If something puts money in your pocket it is a asset. And Liabilities are the ones that takes money out of your pocket. OK for example a house or a car may seems like an Asset but it takes money out of you pocket to maintain them. But if you rent them or make them to make money at the end of the day you can convert it to a asset. Basically that what rich people do. They buy assets. Middle class buy liabilities (thinking those are assets) and stuff (a lot of them that not used or that not needed). Lower class buy to consume (basic needs like foods).