Upload a Cover (PHP) - facebook-graph-api

Anybody know how to upload a profile cover? Not a Album cover but a profile cover for the new timeline? Any help is much appreciated.

Maybe Facebook will roll out a specific API for that in the future, but so far the only way is to upload the photo via the photo API and then ask the user to choose it as his cover...
To upload a photo use a HTTP POST to https://graph.facebook.com/ALBUM_ID/photos (as seen on http://developers.facebook.com/docs/reference/api/)

There's no API for this just yet.

Related

Getting all of my own video links with vimeo API

I want to perform a very specific task through vimeo api. Can anyone tell if it's possible? And if so, how can I do that?
I want to get all the links for the videos that I've uploaded on my vimeo account whether public / private / password protected. And also, is it possible to get the download links of the videos through the api?
Make an authenticated GET request to https://api.vimeo.com/me/videos. I would recommend also using the fields parameter on the request, as the response can be quite large if you have many videos on your account.
The /me/videos endpoint is documented here (make sure you're logged into your Vimeo account).
i think it is very easy.
you should take a look
https://api.vimeo.com/users/{user_id}/videos
https://api.vimeo.com/me/videos
this two are the way to get all videos

Adding link to your facebook app in photo post message

Can anyone tell me how this facebook application was able to make 'MemeGen' a link in this post? I have a photo upload application, and everything works great, but I can't figure out how to stick a link like this in the posts.
This is the markup that they managed to get into the message.
MemeGen
Thanks for any help!
That is obviously not a normal photo upload, but an Open Graph action, which publishes a user generated image – https://developers.facebook.com/docs/opengraph/actions/#usergenerated
(And at that, it is in violation of the rules, because actions are only supposed to post real photos that the user publishing the action took at that very moment with his camera – and I doubt that this particular image with text on it qualifies as such.)

create mobile uploads album

I can't find documentation on how to create the Mobile Uploads photo album using the Graph API. (the one that allows you to do post-by-email) Is this possible? If so how, and what permissions do I need?
You can't. And the issue you're facing is a FB BUG: developers.facebook.com/bugs/445723968802294
Report it!

post on facebook wall through php application

I am going to develop a site where I want to subscribe users from facebook.
If the user subscribe successfully then application will post on his wall when something new happen in our site.
can anybody help me about this.
Thank you in advance
you will need to request "publish_stream" permissions from the user. Read the information about 'publishing' in this link.
The call will look something like this (using the facebook sdk) :
$facebook->api('/'.$user_id.'/feed','post',$post_details);
where $post_details is an array containing pictures, descriptions, links... etc..
Read from the link - it is all explained there...
Good luck!

Free server solution for strict content photos with geotags

I would like to create some kind of open free "group" posting of photos with geotags
First I thought about Panoramio, but seems there is no API for photos upload.
By now I can see only two ways:
Flickr - there are groups but you have to approve group membership anyway, or use tags for grouping which is bad for maintenance
Custom server solution which will cost efforts and hosting
Can you suggest other free photo services with geotags functionality, or opensource solutions?
Thank you!
EDIT
:) Want to add, that I am intrasted in services with open API that is why I thought its a good idea ask this question at SO...
I guess, Picasa may be an alternative in some way.
Picasa access in android: PicasaUploadActivity
it also seems like panoramio does have an API based on services with responses in JSON
the request will be something like
http://www.panoramio.com/map/get_panoramas.php?order=popularity&set=public&from=0&to=10&minx=-124.29382324218749&miny=36.089060460282006&maxx=-119.8773193359375&maxy=38.724090458956965&callback=MyCallback
checkout this post in google geo developers blog for more info
hope it helps.
G.