I have to provide a hyperlink in email (this will be sent via Gmail) which will open FB Messenger by default with some default message text in all platforms (Android, iOS, Web). I did not find anything regarding that but FB provides an option share a URL in Messenger as hyperlink.
https://developers.facebook.com/docs/sharing/messenger
<a href=”fb-messenger://share/?link= https%3A%2F%2Fdevelopers.facebook.com%2Fdocs%2Fsharing%2Freference%2Fsend-dialog&app_id=123456789”>Send In Messenger</a>
But this also did not work. Gmail is not sending the text "Send In Messenger" as a hyperlink but sending it as plain text.
Can you tell me how can I do that?
Related
Is there any way to send message to group using HTMl or JS
whatsapp
I tried doing with this but it didn't work.
I think there is only option to contact single person through this format:
WhatsApp for obvious reasons does not allow you to automatically send a whatsapp message. What you can do is use a https://wa.me link to start the whatsapp application with share message dialog where your user can select who to share the message with:
whatsapp
It will open a share dialog like this (disregard the red box, I took the image from Google to demonstrate).
Also when you click this link, it will try to open the mobile app first. But if your user is on a desktop, it will try to open the Whatsapp Web interface.
I have an app on facebook. Through my site, I open, using JavaScript, a popup. The querystring appearing on Facebook developers site (https://developers.facebook.com/docs/reference/dialogs/feed/) which is:
https://www.facebook.com/dialog/feed?
app_id=458358780877780&
link=https://developers.facebook.com/docs/reference/dialogs/&
picture=http://fbrell.com/f8.jpg&
name=Facebook%20Dialogs&
caption=Reference%20Documentation&
description=Using%20Dialogs%20to%20interact%20with%20users.&
redirect_uri=https://mighty-lowlands-6381.herokuapp.com/
The popup works well and everything is ok.
When I change the app id parameter to my app id, it's not working and it displays "An error occurred...".
What is the reason for that?
Another question related, I moved to facebook feed dialog because the Facebook sharer didn't show certain images. Is it possible to make the facebook feed dialog look like the share option?
Thanks,
Make sure you specified App Domain and Site URL. Those have to point to the server where your Share Feed Dialog will be triggered from. As for testing it can point to local host.
Example:
App Domain: localhost
Site URL: http://localhost:12345/
Good luck!
Marta
I tried to add more than one twitter and facebook accounts from my page via omniauth in rails.
Twitter working fine using force_login parameter.
But, facebook not supporting this.
i can add only one facebook account using /auth/facebook. After i tried to add new facebook account using /auth/facebook path then it returns to my home page only.
If i browse www.facebook.com in same browser then the login page not appearing. The lastly added facebook account page is opening.
when i logout from facebook in browser then i tried /auth/facebook path. its working fine.
So,
need to logout already opened facebook accounts in browser tabs, before i hit add facebook link in my page.
Can anyone help?
thanks.
by deafult, you cannot log in multiple facebook account within one browser unless you have a method to trigger browser(like private browsing-mozilla, incognito Window-chrome ) to let your user sign in. websites uses cookies to track their status.
however, facebook do provide auth_type=reauthenticate.
which the doc is here.
https://developers.facebook.com/docs/howtos/login/client-side-re-auth/
Any correct me if im wrong.
Our site allows users to register using Facebook Connect. We also have a Facebook page. We'd like to include the "Connect with Facebook" button in our page so a user could instantly connect (aka register) and then be forwarded on to their account on our site.
I was hoping to use the Static FBML page application and the FBML iFrame tag to simply embed the button but it looks like the iFrame tag isn't allowed in Facebook pages. Facebook Connect uses JavaScript so I'm wondering if there is some kind of trick I could use like popping up a page in a new window that would automatically display the connect dialog box.
Any ideas on how I would include a Facebook Connect button on our Facebook page would awesome!
Thanks in advance for your help.
I think the best method would just be a link back to your site (you could even use the Facebook Connect image as the link) to a custom page that triggers the FB.connect javascript that's needed.
Check here for info about FB.connect.requireSession().
I understand that I can do browser authentication with Javascript, and then grab, say, an XML file with that javascript. My use case is a bit different though: There's a link on a webpage to a PDF on a different server. That server does browser authentication. The username and password are NOT secrets, in fact right now, we publish the link like this:
"Download PDF (use guest/guest as username/password)".
What I need: the user clicks the link, but does NOT have to fill in the username/pass, because we see many users getting confused by this (in usability tests).
We do not have access to the other server where the PDF is hosted.
Any ideas?
You can write the link like this: http://gast:gast#mis.vlaanderen.be/cognos7/metadata/mp_v_i_im_020_e100_az_algemeen_overzicht.pdf
This URL is a test case: http://mis.vlaanderen.be/cognos7/metadata/mp_v_i_im_020_e100_az_algemeen_overzicht.pdf
The username is "gast", the password is "gast" (as it says in the authentication box).
If you can embed that in a page in a link, and make it open without triggering the browser authentication box, you're my hero :)
http://gast:gast#domain.com/file.pdf