Hi,
After that Erel has added the iFacebook Library this is a small addon to be able to share photo, video, link with native Facebook iOS app. Those are just the basics. I can be extended a lot.
Step 1.
Download the iFacebook.xml attached and replace it with the one in the Libraries folder of B4i.
Download the FacebookShare.bas Module and add it to your project.
Step 2.
Follow the FireBase Sign in tutorial carefully
https://www.b4x.com/android/forum/t...uthenticate-your-users-google-facebook.68625/
Thats it.
Now you are able to share photo,video,links with native facebook app.
Use the ShareLink, SharePhoto or ShareVideo methods to share your content.
UPDATED: ADDED LIKE BUTTON Control.
Use CreateLikeButton function. It is returning a View.
PS: to share a link the URL string must be the full url (start with "http://")
regards
Narek
After that Erel has added the iFacebook Library this is a small addon to be able to share photo, video, link with native Facebook iOS app. Those are just the basics. I can be extended a lot.
Step 1.
Download the iFacebook.xml attached and replace it with the one in the Libraries folder of B4i.
Download the FacebookShare.bas Module and add it to your project.
Step 2.
Follow the FireBase Sign in tutorial carefully
https://www.b4x.com/android/forum/t...uthenticate-your-users-google-facebook.68625/
Thats it.
Now you are able to share photo,video,links with native facebook app.
Use the ShareLink, SharePhoto or ShareVideo methods to share your content.
UPDATED: ADDED LIKE BUTTON Control.
Use CreateLikeButton function. It is returning a View.
PS: to share a link the URL string must be the full url (start with "http://")
regards
Narek
Attachments
Last edited: