I created a messenger (on web) and i want this website send people notification when someone send them a message (and receiver's browser is close).
I seen before in few website they can do that.
Thank you.
i mean First (when user come to my website), site show something like javascript alert(); with (almost) this text :
This website want send you notification
and two buttons: allow , deny
Related
I have a problem that I am trying to conceptualize whether possible or not. Nothing too fancy (i.e. remote login or anything etc.)
I have Website A and Website B.
On website A a user selects on a few links from website B, i would like to then remotely click on behalf of the user on the link (as Website B creates a cookie with the clicked information) so when the user gets redirected to Website B, the cookie (and the links) are pre-selected and the user does not need to click on them one by one.
Can this be done?
IF you want to interact to anorher webservice the resolution is send post/get request and parse response
Question is what is your goal?
Gmail has this option to fetch mails from other accounts. I used this feature to create a central mail box. Works good.
Gmail periodically polls other mail box over POP. But the frequency is 1 hour + , sometimes even more than that. There is no option to pull mails manually on mobile gmail version. But the full blow gmail web (not basic HTML Version) has has a REFRESH button on top which will fetch mails from other boxes right away. Also, under settings there is option to CHECK MAILS. Does the same.
Is there a way to automate a gmail login, click the REFRESH button and exit every 10 minutes?
I am comfortable with WGET, if it was a basic HTML, could have automated. But there is a lot of javascript processing before the page is loaded, and I am lost where to begin javascript automation via bash.
Any leads will help, Thanks.
Got a very strange issue, never seen it before. Basically in the admin section of our website, a user attempts to edit something by clicking a button.
This button attempts to call a webservice (via jquery, which the page will then use to show an edit form in shadowbox).
However the user informs me that instead of the form popping up as usual it is blank for a few seconds. Then this pops up:
Any ideas? The webservice is in the admin section, which requires the user to be in a role (which the user is, otherwise they would never get to the point of being able to click the edit button).
This is normal if your web service is located on a different machine as your web server.
If the two machines are on the same domain, then the browser will attempt to use the default network credentials that has been cached.
This dialog will also pop up if the default credentials used to access the web server (which could be anonymous) does not have access to the resource (folder) where the web service is running. The pop up gives the user an opportunity to enter another set of credentials.
I am working on a fan page and currently I am using an iframe app with the facebook send button embedded in it. I was wondering if there was a better way to invite people to a fan page, like a dialog box that opens with the list of the users friends, the user can then choose his/her friends and send invites. Is this still possible, since FBML tags have been deprecated. Thank you.
Regards
Ghulam Mustafa Majal
You can use our requests channel if you're making an iframe app on facebook which will allow your user to select and send a 'request' to their friends. Then you'll just want to make sure and how the like button on your landing page so when other users receive the request, they can like your fan page as desired.
I have a problem with a website I'm currently working on.
I have added a Tweet box to my page for the user to tweet about the current article. If the user submits from the Tweet box and is not currently logged in or is not connected with my site, he/she gets a popup from twitter asking for username/password and/or if he/she accepts the connection with my site.
If the user accepts the popup is closed and all is good, if the user declines the window is just closed and the tweet remains a dream of what could have been.
So far so good, But! My site is mainly aimed at smartphones (in particular iPhone), and if the user adds my site to the home screen (which I recommend) then the twitter popup fills the whole app window. This I can understand, and everything works out if the user accepts.
If, on the other hand the user declines, there is no window for the button to close so noting happens. My webapp is running fullscreen and standalone so doesn’t even have a back button. So if the user doesn’t accept the twitter connect, he/she basically needs to restart the app to get avay from the “popup”.
So (finally ;) ) my question is this; is there a twitter page that performs the connect authentication that is not required to be in a popup? A page that basically sends you back to the callback url on both accept and cancel? Or is there a different approach that I have over looked?
Looking forward to some helpful tips!
EDIT
I was suggested The standard OAuth flow and Web intents, the problem is that the app needs to be client code/javascript only. This makes The standard OAuth flow impossible because it sends application secrets over http/https wich makes me put the secrets in the javascript ( I might be somewhat of a hobbyist programmer but there are limits ;) ).
Web intent pages don't have a cancel/back button so I'm still stuck if the user dont want to connect and is running my app in stanalone mode.
I guess I should have included this in the original post, thanks anyway for the suggestions.
The standard OAuth flow for Twitter does not require a popup. You can instead redirect the current window. You will then have to process the the form submit yourself and post the status through your server.
You might also checkout Web Intents. The user posts the tweet from a mobile optimized twitter.com page.