0
How it’s done on Facebook:
http://www.facebook.com/sharer.php?u=<?php echo MINHA_URL;?>
And on Twitter:
https://twitter.com/intent/tweet?text=<?php echo TEXTO.' '.MINHA_URL?>
I walked searching on this site, but I didn’t understand how to create a direct link from the site url.
I also saw this example here, but do not know how to use without being through wordpress.
Also has that example.
I don’t understand where the
css
. But you are using some plugin in JS or PHP ?– Diego Souza
Fact. Nothing to do with css... is that I was going to publish all the code, but I let it go.
– Ivan Ferrer
Look at this: https://wordpress.org/plugins/instafeed/ I’ve used it, but not in Wordpress.
– Diego Souza
I am not using Wordpress. I have a store made with Prestashop and I need to put a button to share the product on instagram.
– Ivan Ferrer
Apparently what @Ivanferrer wants is for the user to share an image by posting it on their profile. This is NOT possible through the Instagram API. Only through the Instagram Internal API, you will need to know the private key of the application, and you will need to enter the login/password. Few third-party applications have access to the API to publish images. There is how to request the user to publish the image using the
Mobile Sharing
, only. But this requires the app to call the Instagram app to perform the action.– Inkeliz