How can open two links in one click? - redirect

I have a Blogger website. I want when users click any links to open any page or post it should open abother link in a new window and at the same time it also should open the main link of that particular post or page. This should auto update to every links on the blogger website. Is there is any way. The link it should redirect is a ads link. That's why I need it. This problem is hard to describe.

This is not an actual answer,
Opening multiple links at the same time will destroy all of the user experience and your website's reputation as well. And if you are redirecting for some ads website then it will be of no use since now a days AdBlocker is installed by majority of users.
You can serve non-intrusive ads and maintain over user experience as well. like facebook and google does.

Related

How to share in Google+ without opening share dialog

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.

One Facebook app multiple users

I'm thinking of a facebook app that fetches a website's content (already developed with my own web builder) and display in a custom facebook fan page format. Clients already using the Web builder will only have to add the App to their fan page and they have their website's content already plugged into facebook.
The problem I'm having is knowing how exactly to automate this process. I can't seem to find the "Add app to page" menu when you click the Gear Icon, and the link below gives an approach I can't be explaining to every client (video further down in the link)
http://onlinewealthpartner.com/add-facebook-application-fan-page/
My head might swirling from everything I've read so far, but I'm just easing into the facebook app development. Help/insight would be much appreciated.
If I understand, your central problem is to make it as user-friendly as possible for your users to add your app to their fan pages?
Bottom line is they would need to visit the link mentioned in your tutorial:
https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&display=popup&next=YOUR_URL
However, since you're the one creating the Facebook Tab Application, then you would already have and could supply to your users the "app_id" and "next" parameters, so all they would need to do is click on the custom link you provide. You could even give them a button in your web builder. Your users would just click a button, go to this link, and pick their fan page in a drop down menu.

sharer.php - multiple URLs

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.

Where to upload the facebook fanpage?

I am trying to upload samples of facebook fanpages on my page. I used to work with Static FBML in the past but the pages I want to upload have javascript etc so I think that they will have to be uploaded somewhere else. I am out of ideas where do professional fanpage developers upload their fanpages. I will be very thankful if you can guide me. Thanks
if you're talking about pages that you can add to a fan page it used to be fbml no they use iframes the source goes in any domain of your choice, so if you have hosting somewhere just upload your page there and copy/paste url when creating your app. Hope this is what you are looking for.
Check this out for more info.
I think what you are trying to do is add a custom tab to your Facebook Fan Page like I did here on mine: www.facebook.com/daterraweb
To get it done, you need to create a page and as an admin you can create a custom page tab to host it.
Basically you just need to create a document like you would for a webpage and host it at your hosting of choice and then go to: https://developers.facebook.com/apps
On the Developers apps you can create a New App each can be configured to work as a tab on the page.
I hope this helps. Good lucky.
If you still have questions about this, please check this link: http://developers.facebook.com/docs/appsonfacebook/pagetabs/

How to be notified of comments posted via the Facebook Comments Social Plugin

I recently implemented the Facebook social plugin for comments on my blog. I assumed, incorrectly, that I would get a Facebook notification when someone posts a comment to one of my articles. I was wondering if that is a possibility.
I have read references to the use of a event.subscribe function in the javascript SDK, but I wasn't really interested in creating a javascript-based notification dingus but would rather just see the little badge in my Facebook notification window.
I'd love any insight on how others have addressed this.
Thanks in advance!
Just add yourself as moderator under Facebook developers comments tool. That's it. You'll start getting notifications of any comments on any of your blog posts.
Shorter way:
Open this url (am assuming you are signed into Facebook and is administrator of your Facebook app):
https://developers.facebook.com/tools/comments/
Click on settings
Add yourself (or any of your friend/employee) as moderator.
Lengthier way:
Click on 'Moderation Tool' on any of your blogpost's facebook comments.
You must be on Facebook developers page now. On this page, you must be seeing something like 'your app name' > 'the blogpost title' (from where you clicked moderation tool). Here click on your app name.
On this new page, click on settings.
You must be seeing a modal now. Add yourself (or any of your friend) as moderator here.
You must be getting notifications now.
For those who have been struggling to find a way to get notified when someone sends a comment on your page, here's a (sort of) solution.
Assuming you've created an app for your website, add the following meta tag to your <head>: <meta property="fb:app_id" content="YOUR_APP_ID_HERE" />
Then in Facebook Moderation Tool choose your app and click on Settings in top right corner. In settings, choose Moderation rules tab and at the bottom, you'll find an option Closed under Moderation heading. Select this option. By setting Closed option you basically have to approve all comments that are added to your site, but right now that's the only option how to get notified right in your Facebook without setting up custom listeners on comment.create event. That's also why this solution is sort of solution.
Also don't forget to add yourself as a moderator as Saurabh's answer suggests (otherwise you won't get any notification in your facebook).
Easiest way is to just check the Facebook moderation tool. You could build some kind of notification system that pulls comments using the graph api. I haven't seen any alert/notification system yet that somebody has else built but it would be pretty easy.
Unfortunately, even on the doncaprio blog, the owner has noted that
"For some reasons, notifications stopped working for some months now. I'm yet to find a fix for this... seems like an issue with fb or something."
I've come to the conclusion that I have to live with not having comment notifications.