My FCM notification work fine.
https://i.stack.imgur.com/7fLbI.png
but i want to show only title, body and hide url.
i am a beginner please help .
Related
I am in a process of building my very first website and I came into some problems when trying to implement Facebook Share into my site.
What I am trying to accomplish is:
1) Get URL from textbox in my site.
2) Share it on Facebook.
This is the code I tried:
<center>Share in Facebook
It works with:
<center>Share in Facebook
But I need it to work with dynamic textbox text. For same URL, it works fine.
But it doesn't work with my first code example and I get this error message on Facebook Share popup:
href should represent a valid URL
This is image of the error:
Thanks, I hope I will find help here.
ok so i want to try and link my twitter account up with these notifications so that very time i post a tweet that on my website this notification automatically updates and sends a notification to my website users saying exactly what i said in the tweet how can i accomplish this? by the way when i say notification i mean as in a live update to my website!:
this is the notifications:
http://www.thorbis.com/test/
and this is my twitter widget:
<a class="twitter-timeline" href="https://twitter.com/Thorbis" data-widget-id="325004213753085953">Tweets by #Thorbis</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
is there an efficient way to do this properly?
I have a Facebook XFBML Like and Send button.The code is generated with Facebook like plugin .
Like seems to work well, but Send only display an empty flyout.
Example
http://jsfiddle.net/CVDLc/1/
Click on the Send button to see the empty flyout
Anyone have an idea why?
When I run this request:
FB.ui({ method: 'apprequests',
title:'Tell your friends about this Goal!',
data:'http://blah.com',
message: 'I wants to share a goal on my list with you!'});
The notification is posted in the right hand sidebar on your facebook landing page. Whereas, sometimes it will show the notification up top in red. Does anyone know what is required to get the notification to show up top in the notification jewel?
Quoting facebook*:
"In some cases of requests that Facebook predicts to be very relevant based on the recipients usage and relationship to the sender, the recipient may be made aware using a notification jewel."
* https://developers.facebook.com/docs/reference/dialogs/requests/
Referencing dialogs: https://developers.facebook.com/blog/post/464/
On my site, I've implemented some facebook like buttons on the articles which works for all of them but one. If you 'like' an article, such as this one then it works fine and grabs the right image, right content and puts them on my facebook profile. However, when I 'like' this one it grabs the content and the url of the home page, made worse by the carousel on the homepage which means that it gets content from that and not even the intro text there.
This has been driving me crazy. Please help me.
Next time this happens, use the Facebook Linter tool to debug it and clear any info Facebook has cached. I did this for your URL and it should be working now.