Facebook audio Upload of mp4 format - php

Need help/idea on this.
I have to create a mp4 audio file and then have to upload it on facebook, twitter and tumblr.
I know there is no specific API for this there. But is there any other way out?
I also know i can upload files on separate server and then can provide the link. But i want it to play there only as video's in facebook.
Any ideas on this will be appreciated.

you can utilize open graph, i.e. create a web page with og:audio related meta tags, see the following doc (scroll towards the bottom):
https://developers.facebook.com/docs/opengraph/
then anytime a user/page/app likes a page, it is uploaded to their facebook
hope this helps

you can also do it from opengraph see if this link is suitable for you https://developers.facebook.com/docs/opengraph/

you can also do it by open graph protocol of facebook

Related

LinkedIn share API issue

I am making an app in order to post an image to LinkedIn.
The problem is that it's not working for images.
I use my uploaded image URL in submitted-image-url in order to post my image with a caption but unfortunately, it just uses a thumbnail of my image.
What can I do to post my image? By the way, I use PHP.
Currently, as of May, 2020, LinkedIn only supports the url parameter in its share URL. So, you'll have to share the image by making it a linkable file and then share the URL to the file, like so..
https://www.linkedin.com/sharing/share-offsite/?url={url}
Source: Microsoft LinkedIn Share URL Documentation.
If you are interested in a regularly maintained GitHub project that keeps track of this so you don't have to, check us out! Social Share URLs

Create a link that facebook recognise

I have a question and i don't know how to explain.
If i post an audio file on soundcloud (e.g.) the site is giving me a link. Facebook recognizes the link and is showing me a play button, and i can listen directly on the page, without having to go to the soundcloud. Also, is on soundcloud i upload an image, facebook will show my image.
Can someone explain how can i do that ?
I have a server and from time to time i want to post some audio file (link from my server) to facebook. I want facebook to recognize my links, so everyone who is accessing my page to be able to listen the audio file.
Thanks a lot for your answer.
You need something called Open Graphs Tags. This is meta data which lives in header of your page.

Control youtube's Overlay with api

i made a script to upload videos to youtube from a folder on my server, but now i want a way to control the overlay ads. i saw a video that has just like what i want.
here is the video link:
http://www.youtube.com/watch?v=_v0JoEarI8s
is there any way to do that?
I think that the Call-to-Action overlays can not be managed from the API
https://groups.google.com/forum/?fromgroups=#!topic/youtube-api-gdata/wyUoI9S2c0M
Apparently can only be configured manually
http://support.google.com/youtube/bin/answer.py?hl=en&answer=150471

Facebook API: user allows permissions, then shares a pre-existing photo to their wall

I've been looking around trying to find a solution to my problem but no luck.
I would like to mimic the "feed" dialog which allows the user the ability to share a link on their wall.
However, I would like the user to share a pre-existing photo on their wall at full size.
If someone could help me out, that would be awesome.
Thank you!
It's possible using the object_attachment param. I'm not certain it'll come out full size though. It'll look like a link story, but the image will pop open the photo viewer lightbox.
Here's a blog post announcing it:
http://developers.facebook.com/blog/post/526/

Post a link on Facebook wall og:image does not works

i just want to copy and paste my website links on users facebook walls , when share from http://www.tvguide.dk/nyheder/2011-10-15/TV2_satser:_Nu_med_spritnye_v%C3%A6rter_!/ share buttons it works and picks a correct og:image thumbnail ,
however when i copy paste the link on the wall the facebook picks the logo image. insted of og:image value
can you guys help me please
You won't be able to change that, unless you always upload a picture when you post on someones wall! The og:image is only used for the open graph which is used from like and share buttons, comments etc, but not in facebook itself.
Read up on internationalization: http://developers.facebook.com/docs/internationalization/
Your website is in Danish but you have used set locale as en_US. Also the title, type and URL properties are not being interpreted correctly by Facebook. http://developers.facebook.com/tools/debug/og/object?q=http%3A%2F%2Fwww.tvguide.dk%2Fnyheder%2F2011-10-15%2FTV2_satser%3A_Nu_med_spritnye_v%25C3%25A6rter_%21%2F
Make changes and check the progress at URL Debugger(Linter) given above. If everything fails try including the FBJS SDK and use fb:share-button. I had a similar problem once with WordPress which got solved using the JS SDK

Categories