pimax/fb-messenger-php

how can i create my own functions ?

Closed this issue · 11 comments

i am trying to make a new function in UserProfile.php

but it show me that message

Could not write “/home/........../UserProfile.php”: Permission denied

how can i do this ?

When is the error displayed?

editng file

when i am trying to edit userprofile.php using cpanel file manager

vendor packages are read-only by default.

so where i can add new functions ??

Fork the repository, implement the feature and use your own version.

OR

Fork the repository, implement the feature, make a pull request (if the feature is good, we merge the changes)

A question on the edge: How long have you been dealing with programming, git, etc.?

thanks a lot :)
i will try to make a pull request

Programming......8 years
GITHUB .. i am new bie ^_^ ... i know that i ask ugly questions :(

Everyone starts small, I am glad if I can help.

The problem with your implementation in the picture is the following. The method or the functionality is not part of the official API. Maybe we can solve the issue another way around.

i know .. I wish to get a way to do it using official API

I pulled a Request ... but i know it will be omitted :)

a question on the edge ^_^
i installed the master dev version using composer (3 days )......
if i forked this version
how can i replace the existing version by the new version (Forked)??

if i do editing in github... it will update my version on my website automatically ?
or i have to do something next ???

All the stuff is done by composer.

If you want to use your own code, you must either download or publish it.