this might seem stupid or irrelevant but problem is:
I want to make aa button, which is going to share the url and title on facebook(and/or twitter) directly. I mean, without visiting the standard share window of facebook.
As another option, I thought about:
when you click on a share button, facebook and/or twitter share windows are opened. I want to include those windows in a single one. however when I use iframes, I face two empty borders. along with those two frames I would like to add a button, when clicked, the url will be shared on both fb and twitter.
are those possible or allowed? if so how may I do this. please help me I'm so stuck
You can't share without the window, unless the user have authorized your site to post to Facebook in his behalf. Check this post on how to do it
Related
the website im working on, is a buying and selling website, a user can post in a certain channel (electronics for example), and buyers can view it and express their interest. a user can view posts, and share a certain post through facebook or twitter. now i have done the share with facebook part and its working fine, but to share i have 2 options (or thats what i could find through out the search) it's either i share normally, a link, OR share via my app on facebook, and i want to do the via thingy. when i press share, the share tab opens and everything is fine except that the link to be share is not there, i dont want the user to type it in or copy it, i just want it to be automatically there!
that's the code i used, it takes my app id, and the app domain.
share through facebook
Looks like you are missing the "link" parameter in your share link - which is why the link isn't showing up for you.
http://developers.facebook.com/docs/reference/dialogs/feed/
https://www.facebook.com/dialog/feed?app_id=461240817281750&redirect_uri=https://peaceful-lake-7793.herokuapp.com&link=https://peaceful-lake-7793.herokuapp.com
I am going to develop an extention to share a selected part of page just by clicking on a share image that shown in page..How can I share a text or image in google plus without opening share dialog?
Is there any way?
The only way to share on Google+ is through the share dialog.
Google has stated that they want shares to be deliberate actions - they don't want to allow web pages or other systems to be able to post anything "on your behalf" without the user taking a specific affirmative action.
In short, they don't want Facebook's "frictionless sharing".
They are beginning to roll out the ability for websites to automatically post "moments" into a history vault, but users will still need to take a specific action for these moments to be posted to their stream. See https://developers.google.com/+/history/ for more information and the developer preview.
This may end up being nothing more than a matter of preference, but I'd like to reach some sort of a consensus if at all possible.
I've got a page on which there a several different items that a user might want to share on Facebook. Were it still 2010, I would simply attach a "Share on Facebook" button to each of these items and have that button draft a corresponding wall post when clicked. But as we all know, Facebook has chosen to deprecate the share button in favor of the 'Like' button. Problem is (as far as I know) the Like button is specific to a page. This poses two problems:
I can't attach a different Like button to each of the different items a user might want to share.
Since the content on the page is not static, a user clicking the like button might be told that a certain number of people have already liked that item, despite the fact that the other likers in all likelihood (no pun intended) clicked the button for a completely different item. The fact that the URL remains the same causes trouble.
I recently bought something on Amazon, and was immediately taken to a page where I could Share my purchase on Facebook. Not Like. Share. I clicked the button, and it opened a modal window with a pre-drafted wall post. Does this mean that Amazon is using the deprecated share button?
Would using the Share button in 2012 be totally out of line?
Here you can find the code needed for implementing a custom Share button.
redirect user after facebook share and publish
I hope it helps you.
After having searched for several hours, I have not been able to find an answer to this question. I am currently using sharer.php to achieve a simple "share link" post on facebook i.e.:
http://www.facebook.com/sharer/sharer.php?u=http://mywebsiteapp.com/product.php?prodID=1
What i have in my application is a series of checkboxes with items. I check the items that i would like to share and click "Share" and a window opens for each item.
I would like to share these items on Facebook within one window, rather than having them open up in a new one. This is how i currently have it. It would be incredibly tedious for users to go through each window and click "share" for each one.
I was thinking of combining all the windows into separate iframes on one page. However, Facebook does not allow iframes to be used or any sort of embedding code, so i am out of options.
Does anyone have any other ideas?
Use Facebook's JavaScript API. It will at least allow your users to share all of the items without leaving the page, although they will still have to go through them sequentially.
I think Facebook's JavaScript API actually does put each Facebook page in an iframe, which is fine because it's Facebook doing it and not you.
I've messed around with FBML (deprecated, I know) and the newer HTML5 code to no end, but so far I haven't found any way to do what I'm looking to do.
When using "apprequest" within an application on Facebook (within iframe), I can allow users to share requests to join the app, but those messages that get sent are very hidden away. They don't seem to appear in the newsfeed for shared recipients, and we're afraid users won't see the request from their friends.
Instead, we thought we'd allow users to alternatively share to their friends with the "send" button code that Facebook offers up. This allows us to specify a URL (we were thinking the app canvas URL or page tab it would live on).
So far, this is all I could generate...
Is there any way to have the send code let me specify that we want faces with checkboxes for uses to select their friends, instead of a sharing party needing to type out names of their friends by hand? There's got to be some easy way of doing this.
Stop me if you think I'm going in the wrong direction on this. Maybe there's a better way that I'm simply not thinking of.
Here's an example of the checkbox functionality I'm referring to...
This violates the browser security model and also Facebook's policies, you can include a to parameter with the send dialog to preselect one recipient, but you can't modify the browser DOM because the Facebook dialog is in an iframe