I'm trying to read every Telegram channel message with my app. (I'm using Java)
I want to take the Image, description and links of every message.
Every Telegram message have a specific link like this:
https://t.me/example/**4091**
https://t.me/example/**4092**
https://t.me/example/**4093**
https://t.me/example/**4094**
Do you have any Idea to take all information from every single message?
thanks
Related
I am trying to create a link in an email that will open a mobile device's default texting app if pushed. Here is what I have so far:
a href="sms:;?&body=This%20is%20the%20body%20message."
I have tested it and it seems to work on iOS devices as well as some Android devices. However, on a Google Pixel 3, it opens the default messaging app but shows an error which reads Could not start conversation.
How can I change my code to successfully open a conversation with a blank recipient?
After hours of trial and error, I was able to prefill the Pixel (3XL), iOS (simulated in Xcode), and macOS Messages using the following structure:
Pixel: sms://+1${PHONE}/?body=${encodedString}
iOS: sms://+1${PHONE}/&body=${encodedString}
Give this a try from a link, I think you need a number and replace ; with ?
Send SMS
For non iOS you want to use (For your Pixel Example)
sms:phone_number?body=The_Message
For iOS you want to use
sms:phone_number;body=The_Message
I have an app which will, at some point, require Facebook Messenger to scan QR to connect with a bot.
I found two ways to scan a QR with messenger so far:
1-) Launch messenger and go to "People" tab and press "Scan QR" -> Scan the code
2-) Launch messenger, open camera, hold down to screen until circle appears -> Scan the code
What I want to do is to reduce the steps required to scan a QR code.
I couldn't see any proper solution by going through the Facebook Android SDK & Messenger Platform docs.
So my questions are:
1-) Is there any way to at least start the messenger with QR code reader on through deep link or with any official API ?
2-) Is there any other way to scan Facebook specific QR's ( circle ones ) outside of Messenger and launch messenger as a result ? ( launch a bot chat on Messenger with QR result )
P.S.: I know that deep links may deprecate / change without notice. Answer here also states it, but when I check, I see WizKid's answer here is from 2014. I'm asking this question to learn possible ways and if they added any official way to communicate with it.
If you want for it to be scanned with any reader, you can generate your own QR pointing to: https://m.me/{page_name}.
m.me is a shortened URL service operated by Facebook that redirects users to a person, page, or bot in Messenger. You can use them on your website, email newsletters, and more.
When a user starts a new conversation or continues an existing conversation with your bot via an m.me link, the following message will appear in the conversation: "You have entered this conversation by following a link. We've let PAGE_NAME know you're here."
The format of the link is http://m.me/{PAGE_NAME}, where PAGE_NAME is the handle of the Facebook page the bot is linked to.
This will in fact deep link into a conversation with your bot.
Additional documentation for this is available in https://developers.facebook.com/docs/messenger-platform/discovery/m-me-links
i'm doing simple android project using phonegap. I have to send private message to my friends in facebook from my application. Is there any way to send message through Url?
Until recently Facebook didn't support the send dialogue on mobile, so you couldn't do that.
With their push of Facebook messenger, they started supporting private messages on mobile - https://developers.facebook.com/docs/ios/share#message-dialog
Not idea if there's a PhoneGap plugin that supports it, I'm looking for one as well...
Check Direct URL Example section in send dialog page
https://www.facebook.com/dialog/send?app_id=123050457758183&
name=People%20Argue%20Just%20to%20Win&
link=http://www.nytimes.com/2011/06/15/arts/people-argue-just-to-win-scholars-assert.html&
redirect_uri=http://www.example.com/response
This is a sample link given in documentation.
On m.facebook.com, no display is needed, nor is any other display than 'touch' allowed as we always default to 'touch'.
So that doesn't seem to solve the problem.
Facebook says it's a bug by design https://developers.facebook.com/bugs/507406422635550?browse=search_511bd57f912f84e18364257
I would like to know is there any way to send a message to a friend in facebook from an android app.(Not wall post).Googled a lot about this topic but didn't get any proper solution.Guide me to some reference or blog
I am not sure about native application but you can do it from HTML5 application using javascript:-
https://developers.facebook.com/docs/reference/dialogs/send/
If no other solution place the script in an html file and load the same from the native app
I am using the facebook API in my app, i know how to post message on wall. my requirement is, i want read the wall information of user recent status information through code .
How can i achieve this...
for example. from my facebook account i want to get the latest status information.
Here's a great example of using the GraphAPI to do that
https://graph.facebook.com/me/feed?access_token={}
Try it out here: https://developers.facebook.com/tools/explorer
EDIT
I stumbled across this the other day. There's a connection from the user object called statuses, which filters the stream even more than feed. As with many graph calls, you can add ?limit=N to limit the result set. So this new way I discovered would look like:
https://graph.facebook.com/me/statuses?limit=1&access_token={}
You should use a third party API such as Easy Facebook SDK. It allows you to do what you are trying to do with ease.
U should check it out here:
http://developers.facebook.com/blog/post/385/