En cours

Re-write php function to post to blogger using php, google oauth2 php library etc.

I have php script on web server that auto blogged to blogger correctly until google discontinued the authentication method prior to oauth2. Need someone to re-write the following code to work with google's oauth2, php library etc.

Previously working code:

// *** Post to Blogger *********

function format_output($title,$desc,$blogID,$email,$passwd){

set_include_path('/home/schapman/blogger/ZendGdata-1.11.2/library/');

require_once 'Zend/Gdata/[url removed, login to view]';

require_once 'Zend/[url removed, login to view]';

$service = 'blogger';

echo $blogID;

echo '<br />';

try {

$client = Zend_Gdata_ClientLogin::getHttpClient($email, $passwd, $service);

}

catch (Zend_Gdata_App_CaptchaRequiredException $cre) {

echo 'URL of CAPTCHA image: ' . $cre->getCaptchaUrl() . "\n";

echo 'Token ID: ' . $cre->getCaptchaToken() . "\n";

}

catch (Zend_Gdata_App_AuthException $ae) {

echo 'Problem authenticating: ' . $ae->exception() . "\n";

}

$gdata = new Zend_Gdata($client);

$entry = $gdata->newEntry();

$entry->title = $gdata->newTitle($title);

$content = $gdata->newContent($desc);

$content->setType('text');

$entry->content = $content;

$entryResult = $gdata->insertEntry($entry,'[url removed, login to view]'. $blogID .'/posts/default');

return 'The <id> of the resulting entry is: ' . $entryResult->id->text;

}

Compétences : PHP

Voir plus : www ae com, re write text, re write content, php service, blogger web, blogger email, google oauth net library, write search function website php, using mysql write database, google maps mashup using extjs framework, open url using stream write file 1024 bytes, find google adwords vouchers using google, write javascript function mysql query, google map integration using php, extract google books library, using excel write mysql

Concernant l'employeur :
( 1 commentaire ) Surrey, Canada

N° du projet : #8540928

Décerné à :

sivubio

Dear Sir/Madam, We are Willwo Graphic Designs. We have 7 year experience in PHP, Codeigniter, MySQL, HTML, CSS, BOOTSTRAP and Javascript. Sky-pe chat is possible. The samples of our previous works are given below. Th Plus

70 $ CAD en 5 jours
(3 Commentaires)
1.3

9 freelance ont fait une offre moyenne de 136 $ pour ce travail

omtechnologies

Hi, Our Zend Certified PHP Engineers with 7+ years of experience can do this project precisely and exactly as per your requirements. We have expertise in PHP/ MySQL/JQuery / CSS/ Javascript/HTML etc. and hence are f Plus

155 $ CAD en 3 jours
(172 Commentaires)
7.7
luminous15

hello there I think I can help you to achieve this. let's start and get it done thanks

83 $ CAD en 3 jours
(31 Commentaires)
5.4
umarbsse

Hi.I am a Software Engineer and programmer. I have about 2 years of programming experience and developed 52 project .Project are both web based and desktop based application. I am ready to start your project right now. Plus

250 $ CAD en 3 jours
(38 Commentaires)
5.1
saloo1230

i have used gdata library for spreadsheet in my [url removed, login to view] project with new ouath2 authentication [url removed, login to view] i have idea how to do your work. by the way i have over 3 years of experience in php,html, css, google api. Plus

155 $ CAD en 3 jours
(4 Commentaires)
2.9
ToBeFree

Hello, I'm skilled and experienced in Zend 1, PHP5, etc and I can do this job in the best way for you! I'm ready to strat Thanks,

100 $ CAD en 5 jours
(5 Commentaires)
3.4
tukituko

Hi, i'm an experienced php developer, i've built several platforms and REST api using api keys/oauth2 for authentication. I can make your project within 7 days. Let me know if interested i'm available on chat.

88 $ CAD en 2 jours
(3 Commentaires)
2.8
dreamstudios19

Hi there, Hope you are doing well! I have gone through your job description .I understand requirements. I am working with web programming from last 4+ years and I have already worked on the differe Plus

222 $ CAD en 7 jours
(0 Commentaires)
0.0
rthursbid

Hello, How are you? we saw your project requirement and as per our understanding you have script on web server that auto blogged to blogger correctly until google discontinued the authentication method prior to Plus

35 $ CAD en 3 jours
(0 Commentaires)
0.0
Tuffgeekers

A proposal has not yet been provided

105 $ CAD en 2 jours
(1 Commentaire)
0.0