fbsamples / original-coast-clothing

Sample Messenger App - Original Coast Clothing
https://fb.me/get-sample-oc
Other
201 stars 229 forks source link

Fix es menu length for es locale #40

Closed jorgeluiso closed 4 years ago

jorgeluiso commented 4 years ago

Is your pull request related to a problem? Please describe

This solves #37

Test plan

Uploaded this branch to my staging server git push -f staging fix-es-menu-lenght:master

Deleted my stagin messenger profile

curl -X DELETE \
  'https://graph.facebook.com/v4.0/me/messenger_profile?fields=[%22get_started%22,%22greeting%22,%22persistent_menu%22]' \
  -H 'Authorization: Bearer XXXXXX'

Verified it was empty

curl -X GET \
  'https://graph.facebook.com/v4.0/me/messenger_profile?fields=get_started,greeting,persistent_menu' \
  -H 'Authorization: Bearer XXXXXX' \

Set the profile from my staging https://xxxxxx.herokuapp.com/profile?mode=all&verify_token=xxxxxxxx

Verified it was set for locales: ["en_US", "fr_FR", "es_ES", "es_LA", "pt_BR", "id_ID"],

curl -X GET \
  'https://graph.facebook.com/v4.0/me/messenger_profile?fields=get_started,greeting,persistent_menu' \
  -H 'Authorization: Bearer XXXXXX' \

Checklist

facebook-github-bot commented 4 years ago

@jorgeluiso merged this pull request in fbsamples/original-coast-clothing@3540ce2e7a2cdea37b306b5582e65a37e13e7ed9.