ThingHTTP - POST notification to Facebook | ThingSpeak Apps | Forum

Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
sp_Feed sp_TopicIcon
ThingHTTP - POST notification to Facebook
Avatar
duongthanh3327
New Member
Forum Posts: 2
sp_UserOfflineSmall Offline
1
May 3, 2017 - 4:37 am
sp_Permalink sp_Print

Hi all,

I want to use ThingHTTP to notification on facebook, I find this https://developers.facebook.com/docs/games/services/appnotifications

And I configured my ThingHTTP

URL: https://graph.facebook.com/v2.9/{recipient_userid}/notifications?access_token={appaccess_token}&template=Hello, World!

Method: POST

Remove Headers

Others is default.

When, I request this, responsed is -1 => request failed

But, When I try it on Postman same, it work and notification on my facebook.

 

Help me. Please

Thank you.

DuongThanh

Avatar
rw950431

Forum Posts: 252
sp_UserOfflineSmall Offline
2
May 3, 2017 - 9:26 am
sp_Permalink sp_Print

Did you try GET instead of POST for the method?  You may also need to urlencode some of the characters in your string (such as the comma, space and exclamation mark)- perhaps just try with template=Hello for a start.

Avatar
duongthanh3327
New Member
Forum Posts: 2
sp_UserOfflineSmall Offline
3
May 3, 2017 - 12:42 pm
sp_Permalink sp_Print sp_EditHistory

rw950431 said
Did you try GET instead of POST for the method?  You may also need to urlencode some of the characters in your string (such as the comma, space and exclamation mark)- perhaps just try with template=Hello for a start. 

Thanks rw950431!

access_token certain '|', it's reason.

I try '%7C' instead of '|' and it work.Laugh

Forum Timezone: America/New_York

Most Users Ever Online: 114

Currently Online: jacktheripper125, pudderz
24 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 252

Vinod: 164

cstapels: 96

piajola: 75

vespapierre: 63

Adarsh_Murthy: 59

Newest Members:

bbruno22

pudderz

Utkya

Poornak26

LindasHed

reddysiva

Forum Stats:

Groups: 4

Forums: 17

Topics: 1313

Posts: 4565

 

Member Stats:

Guest Posters: 1

Members: 5703

Moderators: 0

Admins: 2

Administrators: Hans, lee