I'm using the messenger API to send messages to facebook, in that messages sometimes i have links to an external website with get parameters.
Like: http://example.com?example=true
The main problem is that messenger only recognizes http://example.com as an link and i truly need the GET parameter.
There is anyway to fix this?
Ty,
Rui
Related
Facebook Messenger allows us to deeplink to Messenger bots and track the referrer which is pretty useful, having read through the documentation on this I'm left wondering if it is also possible to send a text string to the bot via this method.
i.e a link that opens up the bot in Messenger and sends a text based message just as if the user had typed it themselves.
Can anyone point me in the right direction for this?
I want to send a private messages to my friends silently. So, I prefer FB.api method to send.
But, I could not find the best solution for my problem.
Send Dialog api sends in FB.ui method and can't send more than 1 at a time. It expects a form submission.
Feed Dialog api is a public post. I think, I'm right.
My exact scenario is, I have huge number of messages in my app. I will select and send to my friends. It would not displayed on their wall. I mean it should not be a public. It should be a private message.
Please send your ideas.
Facebook do not provide any api for this, but provide chat api, so you can send messages via it.
for more details see https://developers.facebook.com/docs/chat/
i am working on a facebook application , i need to send a message to user facebook friends , is that possible to send without opening the facebook send message dialog box, because when i use facebook SDK it uses its ui to preview , i also tried using direct url
http://www.facebook.com/dialog/send?app_id=658662621626&name=People%20Argue%20Just%20to%20Win&recipients[0]=466565&link=http://www.redbuffer.com&redirect_uri=http://www.example.net/FB-app/
is their any other method by which i will be able to send private message
to facebook friends
My initial thought is a resounding heck no. The reason? They would open themselves up to spamming if they allowed API's to directly send messages. Just a guess though.
I am new on Facebook API. I want to send message to friend with facebook api. I am developing a desktop application in c#. And I used graph.facebook.com but I can see just some information. I think that to login facebook system and after send message some id. I looked developers.facebook.com but I didnt find useful information. Maybe I looked in wrong way..
I need some advice about it (how to login and send message)
I followed function of messange sendin on google chrome and I saw send.php worked . But I want to use Facebook API
By design Facebook does not allow the API to send messages. You can post on the other users wall, or send them an email.
Our app can post to a friend's wall successfully. However, if the message contains a url it is auto removed by Facebook. If manually posting to a friend's wall the link in the message shows up ok. Is this a Facebook app limitation? If so, is there a way around this limitation?
They're doing that to prevent link spam. Otherwise Facebook would be FILLED with links to pr0n, V14gr4 and w4r3z.
I expect that Facebook is executing a bit of Javascript in your browser when a live human posts to a wall. That Javascript would let their server know that the link was posed by a browser that supported Javascript. That's not likely to be the case for web applications that talk HTTP directly.
If I'm correct, then you will either need a Javascript interpreter integrated into your app, or if what Facebook expects as a response is simple enough, then you could just fake it out by sending a canned response.
Try looking at your friend's wall while running a Javascript debugger, then make two posts, one with and one without a link. You could also place a protocol analyzer between your compuer and the Internet.