PHP Automatically Auto Post

PHP Automatically Auto post Content into Blogspot

In this Post We Will Explain About is PHP Automatically Auto post Content With Example and Demo.Welcome on infinityknow.com – Examples, The best For Learn web development Tutorials,Demo with Example! Hi Dear Friends here u can know to Auto post Content into Blogspot using PHP Example

PHP Automatically Auto Post Example

In this post we will show you Best way to implement how to post on Blog-spot wall using Google api, hear for how to post into a Blog-spot page with php using Google api with Download .we will give you demo,Source Code and examples for implement Step By Step Good Luck!.

PHP Automatically Auto Post into Blogspot using php code

Automatically Auto post Content into Blogspot using PHP

Hi Dear Friends, the following simple PHP source code will help to step by step your auto post into Google blogspot using php source code Script

First of all i need user email address, And this blog-spot content to put it;s account Email address and password, and then we required to uniq your blogger blog-spot ID Like as a 6385658719904555556 this type. for this source code available Auto post into Blogspot using php source code

READ :  PHP Laravel Get url Segment Example

We required to send two simple parameters, the first one is post title and then the second one is post data content for the Auto post Content into Blogspot using PHP.

Automatically Auto post Example

<?php 
	//session start
	session_start();
    $user_email = "[email protected]";
    $pass = "My gmail password";
    $my_blogid= urlencode("My live bloger id"); // like 6385658719904555556

    // Do Not Modify Below Code
    if(!isset($_SESSION['sessionToken'])) {

    $live_curl = curl_init("https://www.google.com/accounts/ClientLogin?Email=$user_email&Passwd=$pass&service=blogger&accountType=GOOGLE");
    curl_setopt($live_curl, CURLOPT_POST,1);
    curl_setopt($live_curl, CURLOPT_FOLLOWLOCATION ,1);
    curl_setopt($live_curl, CURLOPT_HEADER,0);
    curl_setopt($live_curl, CURLOPT_RETURNTRANSFER ,1);
    $result = curl_exec($live_curl);
    $resultArray = curl_getinfo($live_curl);
    curl_close($live_curl);
    $arr = explode("=",$result);
    $token = $arr[3];
    $_SESSION['sessionToken'] = $token;
    }
	//Devloped by infinityknow.com
    $entry = "

    <title>Welcome- to live24u,com</title>

    

    My first blogpost for auto post using PHP,This is testing mode contnet to first post in blog post.

    

    ";
	//Devloped by infinityknow.com
    $len = strlen($entry);

    $headers = array("Content-type: application/atom+xml","Content-Length: {$len}","Authorization: GoogleLogin auth={$_SESSION['sessionToken']}","$entry");

    $live_curl = curl_init();
    curl_setopt($live_curl, CURLOPT_URL, "https://www.blogger.com/feeds/$my_blogid/posts/default");
    curl_setopt($live_curl, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($live_curl, CURLOPT_TIMEOUT, 4);
    curl_setopt($live_curl, CURLOPT_HTTPHEADER, $headers);
    curl_setopt($live_curl, CURLOPT_FOLLOWLOCATION, 1);
    curl_setopt($live_curl, CURLOPT_UNRESTRICTED_AUTH, 1);
    curl_setopt($live_curl, CURLOPT_POST, true);
    $result = curl_exec($live_curl);
    $ERROR_CODE = curl_getinfo($live_curl);
    curl_close($live_curl);

    echo '<pre>';
	//print header Request code
    print_r($headers);
	//print Results code
    var_dump($result);
	
	//print Error code
    print_r($ERROR_CODE);
    exit;

    ?>

This source code all the dynamically auto post in google Product Blogspot on wall and as a post to Good seo and create a PHP severer side generated cron jobs using PHP.

READ :  C# Multidimensional Arrays Tutorial with Examples

E-junkie: Sell digital downloads online

E-junkie Provides a Copy-paste buy-now, and cart buttons for selling downloads, codes and tangible products on any website, blog, social media, email and messenger!

Also see:

  1. The Top 10+ Best Webinar Software Platforms For 2020-2021
  2. Build Your Future Godaddy Careers And Jobs
  3. Introduction To Web Hosting Services

This source code Automatic PHP Blogger Blogspot Post generator every new time you when publish a wordpress new post

We can simple post into Google blog spot blog from your web-application simple way to marketing by this above source code. It will be very useful source when we some auto post one link as well as some data content to auto post into social share sites from your web-application then we can latest tips or use this PHP source code.

You are Most welcome in my you-tube Channel Please subscribe my channel. and give me FeedbackMore Details……
Angular Example

Example

JSON Fundamentals Tutorial with Examples

I hope you have Got What is Auto post into Blogspot using php code And how it works.I would Like to have Feedback From My Blog(infinityknow.com) readers.Your Valuable Feedback,Any Question,or any Comments about This Article(infinityknow.com) Are Most Always Welcome.

READ :  Angular Authentication API PHP MySQLi

We hope you get an idea about php – Making Posts on Blogspot Automatically
We would like to have feedback on my Information blog .
Your valuable any feedback, Good question, Inspirational Quotes, or Motivational comments about this article are always welcome.
If you liked this post, Please don’t forget to share this as Well as Like FaceBook Page.

We hope This Post can help you…….Good Luck!.

https://infinityknow.com – infinityknow is the most popular Programming & Web Development blog. Our mission is to provide the best online resources on programming and web development. We deliver the useful and best tutorials for web professionals — developers, programmers, freelancers and site owners. Any visitors of this site are free to browse our tutorials, live demos and download scripts and More usefule Free Scripts.