Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

100 - OAuthException (#100) param recipient must be non-empty #25

Closed
n-other opened this issue Jun 28, 2017 · 5 comments
Closed

100 - OAuthException (#100) param recipient must be non-empty #25

n-other opened this issue Jun 28, 2017 · 5 comments

Comments

@n-other
Copy link

n-other commented Jun 28, 2017

Hi,

Just made a fresh clone of this repo and I'm getting "100 - OAuthException (#100) param recipient must be non-empty error" in laravel logs whenever I try sending text message. Meanwhile the version fetched via composer require laravel-notification-channels/facebook works fine.

@rudivdme
Copy link

rudivdme commented Jul 4, 2017

If you pass an array to the to() method with id then it works fine with dev-master.

FacebookMessage::create()->to(['id'=> $notifiable->messenger_id])

@n-other
Copy link
Author

n-other commented Aug 14, 2017

thanks, works like a charm!

@n-other n-other closed this as completed Aug 14, 2017
@LeDinhManh-rabiloo
Copy link

Hello!
I write FacebookMessage::create()->to(['id'=> $notifiable->messenger_id]) however i don't have facebook messager user id. How to generate facebook messager user id?
Thank you!!

@aybeedee
Copy link

@LeDinhManh-rabiloo one way I know is to use Facebook's Graph API Explorer. Login there and make a GET request using me?fields=id,name. It will return your user id.

@MAkif06
Copy link

MAkif06 commented Feb 15, 2024

image

I want to try post to my facebook page using facebook graph api explorer. But I am getting this error. Why I am getting this error ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants