How to programmatically upload images to flickr using flickr API and PHP - php

I have to start working on a script to upload images to flickr following the documentation here but I can't understand how to authenticate following the instruction here.
Can anyone with experience with that tell me the steps I need to follow for it? for example:
should I have to authorise the app before to start doing uploads?
should I have to authenticate before every single upload?
how can I compose the url to get the signature? this is what I am using ATM but is asking me for a callback url I can't see in this doc page:
'http://flickr.com/services/auth/?api_key='.$KEY.'&perms=write&api_sig='.md5($SECRET.'api_key'.$KEY.'permswrite');
thanks

Related

I need Youtube API3 + PHP Script for video uploading from website to directly into my youtube cahnnel

i am trying to develop web application for video upload from website to youtube channel.
I have already created Client ID, Client secret and API Key.
But i don't know how to use it, also found tutorial on online but any time i unable to complete this script.
anybody have ready-made script, so i can complete my project.
YouTube's developers site has PHP video upload sample code here.

How to upload youtube video? Cron in PHP

I want to upload the video to my youtube account from my cron job created in php. But this is not possible as the oauth requires user intervention for allowing the access every time and the samples found in the api documentation does not provide any clues for getting this done. Can anybody please help me to get this done?

Dropbox API without user action, standalone app

I'm trying to develop a PHP script to synchronize files with a Dropbox folder that I own.
I'm trying to connect using the Core API and OAuth 2, and it seems that a user needs to get an authorization code from an approval page, but my script needs to be stand alone without any user interaction.
My question is : is it possible ?
I didn't find anything to the Dropbox API documentation to achieve this.
Thanks in advance for any link, help or alternatives.
As #dev-null-dweller said in a comment, you certainly need to authorize the app once, but you can just store the token and keep reusing it.
You might want to use my app http://dbxoauth2.site44.com/ to get an OAuth token for yourself and then just hardcode it in your script.

How can i upload a video to Facebook via PHP?

i read some documents but its not clearly described any where. could you tell me step by step, how can i upload a video to facebook via php?
-register facebook
-verify account
-create facebook app
then???
Try this how-to: http://developers.facebook.com/blog/post/515/#video_upload

Fetch images link in my account from Imgur

I want to fetch image links in my account from Imgur.com
I know that there is an API for this but I don't know where to start since there are examples for uploading images but not getting links.
I decided to use PHP and cURL but I tried and no luck.
Please help.
Complete OAuth authentication. (Here's an example of using OAuth with twitter via the PECL OAuth extension)
Call http://api.imgur.com/2/account/images.json?count=70&page=1

Categories