Posting voice (mp3 file) on facebook profile - facebook

Can anyone please let me know how to post voice update on facebook, on a user's wall, using the php/js - sdk and Graph API.
Thanks in advance.

You would publish a post to the user's feed containing a link to the mp3. The mp3 needs to be hosted on the internet somewhere.
https://developers.facebook.com/docs/reference/api/post/
https://developers.facebook.com/docs/reference/api/link/

Related

Corona Lua - Facebook Post Video

I am using Corona and have integrated my app to share a message and photo using FB Graph Api. Does anyone know how to post video in Corona.
According to http://developers.facebook.com/docs/reference/api/ there are no write permission on Facebook for uploading video.
You can use facebook.request( "me/photos", "POST", attachment ) to post photos, but there are no "me/video" or anything similar, mostly because Facebook do not want it for some reason of their own.
https://developers.facebook.com/docs/reference/api/video/ mentions two How-Tos:
How to upload a video to a user's profile using Graph API: “To publish a video, issue a POST request with the video file attachment as multipart/form-data to https://graph-video.facebook.com/me/videos”
How to upload a video to an Application, Group, or Page's wall using Graph API

Facebook photo sharing to friend's wall

I am developing a greeting card application. Greeting card should be posted to multiple friends' wall. I had used graph API to upload picture to friend's wall using [friends_Id]/photos post. Using this approach Facebook will create an album in to that user account automatically rather than creating or sharing photo to friends. After photo upload this newly created album will be shared to friends. This is not the option which I'm looking.
Facebook will use the same album for other photo uploads. Since album was shared to some friends, all previously shared friends will get notifications on their news feed for this new photo upload. So I omitted this approach.
Second I used posting image link to friend's feed. This time Facebook won't allow me to post image links with hosted on their server saying that FCDN images are not allowed in stream.
Hosting a server will be an expensive option for me.
Third I used photo tagging approach. This work well. But this is not the required option.
In Facebook website there is an option to share a photo in an album to my friends wall. Can I implement this approach using graph API? Is there any option to share an uploaded image to friend's wall using graph API?
I hope that my question is clear to you... Please help.. :)
Perhaps this approach will work you. See https://developers.facebook.com/blog/post/526/ where you can post to a wall and refer to an existing photo, or basically attach a photo you own to a friend's wall. So here are the steps:
1) Upload the photo you are interested in sharing to your album. Note the photo ID.
2) Send an HTTP POST to https://graph.facebook.com/[FRIEND_ID]/feed with the object_attachment parameter set to your photo ID.
Please note that you will need an access token with publish_stream permission.

how can I get the youtube shared links from my facebook account?

I want to list the YouTube video links in my iPhone app that I have shared in my facebook account.
How can I do this ?
Please if you have knowledge about this, please share with us.
Thanks in advance.
Look at FBConnect FBConnect and Graph API or REST API to see if this is possible.
Do the following instruction;
make a request for metadata.
After getting the response for metadata, just parse links dictionary from connections. You will get one url with access_token and signature.
Make one more request with the url.
eg:[fbGraph doGraphGetWithUrlString:[[[resultFacebook valueForKey:#"metadata"] valueForKey:#"connections"] valueForKey:#"links"]]
4 . Now you will get list of YouTube url from Facebook that already is in your Facebook Wall.

Can I upload photos but not post to wall in Facebook?

Can I upload photos using Facebook API but not post to wall in Facebook?
What I use is the photos.upload in the API.
If it cannot be avoided, is there any way to delete that wall post so that I don't have to do it manually?
Documentation of graph API (http://developers.facebook.com/docs/reference/api/photo/) mentions the following:
If you would like to suppress the
story that is automatically generated
in the user's feed when you publish a
photo (usually because you plan on
generating your own), you can add a
no_story=1 parameter. In this case,
the user will receive a notification
that your application has uploaded a
photo.
Adding the same parameter to the legacy REST API seems to work for me
Let me answer my own question:
It's about the permission problem. We can set the permission so that the photos do not publish to wall.

Automatically transfer Blog post (rss) in Facebook, Twitter

Any APIs or application that could be used to pull a RSS feed and put it on a configured Facebook, Twitter, ... account ?
Kind of a Add This but in something like a Windows Service
Thanks !
Patrick
Better than twitter feed is engator - rss to twitter and facebook
Twitterfeed will post your RSS feed into Twitter and Facebook.
Check TweetMiner that does the job for Twitter.